Skip to content

pantoken / renderers/web-components/src / inPlaceEdit

Variable: inPlaceEdit

const inPlaceEdit: ElementDefinition

Alpha

<instui-in-place-edit> — a click-to-edit field. value shows as text; on click/focus it becomes editable, Enter or blur commits (and fires a bubbling change event with detail.value), and Escape reverts to the pre-edit value. readonly disables editing. An external value change reflects into the field while it isn't being edited.

Example

html
<instui-in-place-edit value="Course title"></instui-in-place-edit>