Code Editor API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
single-line | boolean | false | Displays the editor as a single line, similar to an input. Combine with line-wrapping for a textarea-like appearance. |
disabled | boolean | false | Prevents the editor from accepting input. |
Events
| Event | Description | Returns | |
|---|---|---|---|
update | Fires when the editor content changes. | { detail: [] } | |