(muya: Muya, withLineNumbers: boolean = false)
| 68 | } |
| 69 | |
| 70 | constructor(muya: Muya, withLineNumbers: boolean = false) { |
| 71 | super(muya); |
| 72 | this.tagName = 'code'; |
| 73 | this.classList = ['mu-code']; |
| 74 | this._withLineNumbers = withLineNumbers; |
| 75 | this.createDomNode(); |
| 76 | this.createCopyNode(); |
| 77 | this.listen(); |
| 78 | } |
| 79 | |
| 80 | override getState(): TState { |
| 81 | debug.warn('You can never call `getState` in code'); |
nothing calls this directly
no test coverage detected