Static
STATUSESReadonly
beforeReadonly
beforeReadonly
destructed: "destructed"Readonly
ready: "ready"Plugin have CSS style and it should be loaded
Parent View element
The window in which jodit was created
Static
requiresAdditional plugin styles can be written simply as inline styles
class A extends Jodit.modules.Plugin {
styles = 'h1{color: red}';
}
Will only be applied if the plugin is activated
Readonly
uidCurrent component status
Setter for current component status
Component was destructed
The component is currently undergoing destructuring or has already been destroyed. Those. you should not hang new events on him now or do anything else with him.
Component is ready for work
Shortcut for this.jodit
Bind destructor to some View
Safe get any field
the path to be traversed in the obj object
Optional
obj: IDictionarythe object in which the value is searched
private a = {
b: {
c: {
e: {
g: {
color: 'red'
}
}
}
}
}
this.get('a.b.c.e.g.color'); // Safe access to color
// instead using optionsl chaining
this?.a?.b?.c?.e?.g?.color
Calc BEM element class name
element name in the bem classification
Adds a handler for changing the component's status
the status at which the callback is triggered
a function that will be called when the status is status
Static
isSet component status
component status
ComponentStatus
If you like Jodit - try Jodit PRO
Ask before paste HTML source