Appearance
CodeEditor
依赖于 CodeEditor
import { CodeEditor } from 'seldom-ui'基本用法
src Props
| 参数名 | 描述 | 类型 | 默认值 |
|---|---|---|---|
| model-value (v-model) (*) | string | '' | |
| theme | union | 'monokai' | |
| input-style | any | - | |
| mode | union | 'javascript' | |
| readonly | boolean | false | |
| height | string | '300px' |
src Events
| 事件名 | 描述 | 参数 |
|---|---|---|
| update:model-value | - | |
| change | - | |
| blur | - | |
| focus | - |