| 24 | protected static prefix = 'ui-resizable-'; |
| 25 | |
| 26 | constructor(protected host: GridItemHTMLElement, protected dir: string, protected option: DDResizableHandleOpt) { |
| 27 | // create var event binding so we can easily remove and still look like TS methods (unlike anonymous functions) |
| 28 | this._mouseDown = this._mouseDown.bind(this); |
| 29 | this._mouseMove = this._mouseMove.bind(this); |
| 30 | this._mouseUp = this._mouseUp.bind(this); |
| 31 | this._keyEvent = this._keyEvent.bind(this); |
| 32 | |
| 33 | this._init(); |
| 34 | } |
| 35 | |
| 36 | /** @internal */ |
| 37 | protected _init(): DDResizableHandle { |