API Documentation

Editable

Themable javascript editable component. For examples, check out Editable demo page.

Properties

Key Type Required Description
control string No Possible values are: input, textarea. Defaults to input
event string No Possible values: click, dblclick, mouseover. Defaults to click
buttons object No

Methods

Method Arguments Description
enable .zinoEditable("enable") Enables the editable functionality.
disable .zinoEditable("disable") Disables the editable functionality.
close .zinoEditable("close") Closes editable.
destroy .zinoEditable("destroy") Remove the editable functionality completely. This will return the element back to its pre-init state.
load .zinoEditable("load") Show editable form control.
save .zinoEditable("save") Programmatically call up save event, after that closes editable.

Events

Event Arguments Description
enable event, ui Triggered when user enables the editable functionality.
disable event, ui Triggered when user disables the editable functionality.
load event, ui Triggered when editable control attempts to open/show.
save event, ui Triggered when the user confirm the changes of editable content.
close event, ui Triggered when editable control attempts to close/hide.