Creates a HTML component in the cell.
Instance of cell, where component is attached.
The options for the component.
OptionalcaptionThe HTML element where the caption is.
The connector handlers for the component. They are used to handle the connector options and data tables.
ProtecteddimensionsSize of the component (width and height).
An array of options marked as editable by the UI.
Sets an ID for the component's div.
OptionalisWhether the component state is active.
HTML component's options.
Protected OptionalsyncThe sync handlers for the component.
StaticdefaultDefault options of the HTML component.
StaticpredefinedPredefined sync config for HTML component.
Destroys the component.
Returns the data table connected to the component by the connectorId
and dataTableKey. If both args are undefined, the first data table is
returned.
OptionalconnectorId: stringThe id of the connector.
OptionaldataTableKey: stringThe key of the data table within the connector.
The data table, or undefined if no matching handler is found.
Retrieves editable options for the HTML component.
Get the value of the editable option by property path. Parse the elements if the HTML options is not set.
OptionalpropertyPath: string[]The property path of the option.
Returns the component's options when it is dropped from the sidebar.
Initializes connector handlers for the component.
Resize the component
Optionalwidth: string | number | nullThe width to set the component to. Can be pixels, a percentage string or null. Null will unset the style
Optionalheight: string | number | nullThe height to set the component to. Can be pixels, a percentage string or null. Null will unset the style.
ProtectedresizeIt's a temporary alternative for the resize method. It sets the strict
pixel height for the component so that the content can be distributed in
the right way, without looping the resizers in the content and container.
Optionalwidth: string | number | nullThe width to set the component to.
Optionalheight: string | number | nullThe height to set the component to.
Adjusts size of component to parent's cell size when animation is done.
HTML element that is resized.
Adds caption at the bottom of component's container.
The options for the caption.
Adds title at the top of component's container.
The options for the title.
Handles updating via options.
The options to apply.
Class that represents a HTML component.