Skip to main content

Code Editor API

Properties
NameTypeDefaultDescription
single-linebooleanfalseDisplays the editor as a single line, similar to an input. Combine with line-wrapping for a textarea-like appearance.
disabledbooleanfalsePrevents the editor from accepting input.
Events
EventDescriptionReturns
updateFires when the editor content changes.{ detail: [] }