* Called when the component is mounted.
()
| 53 | * Called when the component is mounted. |
| 54 | */ |
| 55 | function mount(): void { |
| 56 | init(); |
| 57 | on( EVENT_UPDATED, destroy ); |
| 58 | on( EVENT_UPDATED, init ); |
| 59 | on( EVENT_MOVE, onMove ); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Initializes the component. |