Hook deorators

Sets a handler for changing the component's status.

import { component, hook } from 'jodit/src/core/decorators';
import { UIElement } from 'jodit/src/ui';

@component()
class UISomeElement extends UIElement {
@hook('ready')
protected onReadyHandler(): void {
alert('Component ise ready');
}
}

Component statuses can be viewed in [[STATUSES]]

Index

Functions

Jodit PRO

If you like Jodit - try Jodit PRO