* Calculates height nessesary to view the text without scrollbars. * @protected * @return {TextViewerView} Fluent interface
()
| 139 | * @return {TextViewerView} Fluent interface |
| 140 | */ |
| 141 | layoutTextarea () { |
| 142 | this._$textarea.style.height = '' |
| 143 | this._$textarea.style.height = `${this._$textarea.scrollHeight}px` |
| 144 | return this |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Updates view on model change. |
no outgoing calls
no test coverage detected