@@ -78,9 +78,9 @@ export class YourAppComponent {
7878| [ language] | string | ` '' ` | The editor's language. You should set the ` languages ` prop at first. |
7979| [ setup] | Setup | ` 'basic' ` | The editor's built-in setup. The value can be set to [ ` basic ` ] [ _basicSetup ] , [ ` minimal ` ] [ _minimalSetup ] or ` null ` . |
8080| [ extensions] | Extension[ ] | ` [] ` | It will be appended to the root [ extensions] [ _extensions ] . |
81- | (change) | EventEmitter<string > | ` - ` | Event emitted when the editor's value changes. |
82- | (focus) | EventEmitter<void > | ` - ` | Event emitted when focus on the editor. |
83- | (blur) | EventEmitter<void > | ` - ` | Event emitted when the editor has lost focus. |
81+ | (change) | EventEmitter\ < string\ > | ` - ` | Event emitted when the editor's value changes. |
82+ | (focus) | EventEmitter\ < void\ > | ` - ` | Event emitted when focus on the editor. |
83+ | (blur) | EventEmitter\ < void\ > | ` - ` | Event emitted when the editor has lost focus. |
8484
8585### Diff Editor
8686
@@ -99,12 +99,12 @@ export class YourAppComponent {
9999| [ disabled] | boolean | ` false ` | Whether the diff-editor is disabled. |
100100| [ collapseUnchanged] | { margin?: number; minSize?: number } | ` undefined ` | When given, long stretches of unchanged text are collapsed. |
101101| [ diffConfig] | DiffConfig | ` undefined ` | Pass options to the diff algorithm. |
102- | (originalValueChange) | EventEmitter<string > | ` - ` | Event emitted when the editor's original value changes. |
103- | (originalFocus) | EventEmitter<void > | ` - ` | Event emitted when focus on the original editor. |
104- | (originalBlur) | EventEmitter<void > | ` - ` | Event emitted when blur on the original editor. |
105- | (modifiedValueChange) | EventEmitter<string > | ` - ` | Event emitted when the editor's modified value changes. |
106- | (modifiedFocus) | EventEmitter<void > | ` - ` | Event emitted when focus on the modified editor. |
107- | (modifiedBlur) | EventEmitter<void > | ` - ` | Event emitted when blur on the modified editor. |
102+ | (originalValueChange) | EventEmitter\ < string\ > | ` - ` | Event emitted when the editor's original value changes. |
103+ | (originalFocus) | EventEmitter\ < void\ > | ` - ` | Event emitted when focus on the original editor. |
104+ | (originalBlur) | EventEmitter\ < void\ > | ` - ` | Event emitted when blur on the original editor. |
105+ | (modifiedValueChange) | EventEmitter\ < string\ > | ` - ` | Event emitted when the editor's modified value changes. |
106+ | (modifiedFocus) | EventEmitter\ < void\ > | ` - ` | Event emitted when focus on the modified editor. |
107+ | (modifiedBlur) | EventEmitter\ < void\ > | ` - ` | Event emitted when blur on the modified editor. |
108108
109109## License
110110
0 commit comments