Table of Contents

behavior: edit

Standard single line input element behavior

Elements

that have this behavior applied by default (see master_style_sheet):

Attributes

that this behavior knows about:

Events

Together with the standard set of events (mouse, keyboard, focus) behavior: button generates:

Value

type json::value::V_STRING, reflects current status of internal editing buffer.

Special key combinations

Methods

Edit supports following xcall() methods (see dom::element::xcall() function):

Note that in Sciter you can access these methods simply as:

  var edit = self.select("input[type='text']");
  edit.setSelection(0,10);
  var selStart = edit.selectionStart;