Static
STATUSESReadonly
beforeReadonly
beforeReadonly
destructed: "destructed"Readonly
ready: "ready"Parent View element
The window in which jodit was created
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
Static
appendInsert column before / after all the columns containing the selected cells
Static
appendInserts a new line after row what contains the selected cell
Insert a new line after/before this line contains the selected cell
Insert a new line after line contains the selected cell
Bind destructor to some View
Static
formalGet cell coordinate in formal table (without colspan and rowspan)
Static
formalGenerate formal table martix columns*rows
Optional
callback: ((cell, row, col, colSpan, rowSpan) => false | void)if return false cycle break
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
Returns array of selected cells
Static
getReturns columns count in the table
Calc BEM element class name
element name in the bem classification
Static
getReturns rows count in the table
Static
getDefine bound for selected cells
Static
getAdds 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
isStatic
mergeIt combines all of the selected cells into one. The contents of the cells will also be combined
Static
normalizeTry recalculate all coluns and rows after change
Static
removeRemove column by index
Static
removeRemove row
Static
setSet column width used delta value
Set component status
component status
ComponentStatus
Static
splitDivides all selected by jodit_focused_cell
class table cell in 2 parts vertical. Those division into 2 columns
Static
splitIt splits all the selected cells into 2 parts horizontally. Those. are added new row
If you like Jodit - try Jodit PRO
The base class of all Jodit UI components. Provides work with a life cycle.