Documentation

Component

set #

Arguments
element Node Element Dom

Selects the specified component in the editor.

this.app.component.set(element);

unset #

Unselects the active component in the editor.

this.app.component.unset();

is #

Checks if a component is selected in the editor.

var is = this.app.component.is();

get #

Returns an instance of the active component.

var instance = this.app.component.get();

See more about tag API.

duplicate #

Duplicates the active component.

this.app.component.duplicate();

remove #

Removes the active component.

this.app.component.remove();

insert #

Inserts at the caret some html or dom node to the editable component.

this.app.component.insert(html);