({ autoGenerateTag }: { autoGenerateTag: boolean })
| 28 | private _lastFreeStyleChangeId: number; |
| 29 | |
| 30 | constructor({ autoGenerateTag }: { autoGenerateTag: boolean }) { |
| 31 | const freeStyle = createFreeStyle(); |
| 32 | |
| 33 | this._autoGenerateTag = autoGenerateTag; |
| 34 | this._freeStyle = freeStyle; |
| 35 | this._lastFreeStyleChangeId = freeStyle.changeId; |
| 36 | this._pending = 0; |
| 37 | this._pendingRawChange = false; |
| 38 | this._raw = ''; |
| 39 | this._tag = undefined; |
| 40 | |
| 41 | // rebind prototype to TypeStyle. It might be better to do a function() { return this.style.apply(this, arguments)} |
| 42 | this.style = this.style.bind(this); |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Only calls cb all sync operations settle |
nothing calls this directly
no test coverage detected