Inplace Editor API

API Reference e-inplaceeditor

HTML Attributes API

Name Description Type Required Default value
value Sets content string false
disabled Prevent editing editable boolean false
error Sets the error state of the input boolean false
maxlength Sets the maximum number of characters allowed number false
placeholder Set the placeholder text when tag is empty string false

Javascript API

Name Type Description Arguments
value Returns the current visible text when in data dasplay mode
savedContent Returns the current input saved input value
selectAll Selects the content of the editor and sets the focus

Events

Event Description Returns
update Fires on blur { detail: { value: [textContent] } }