You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`[height]`| Height of Monaco Editor |`string`|`300px`|
14
-
|`[width]`| Width of Monaco Editor |`string`|`100%`|
15
-
|`[disabled]`| Disabled of monaco editor |`boolean`|`false`|
16
-
|`[placeholder]`| Placeholder of monaco editor, Can change the style via defining the `.monaco-editor-placeholder` CSS. |`string`| - |
17
-
|`[placeholderColor]`| Color of the placeholder text |`string`|`rgba(128, 128, 128, 0.6)`|
18
-
|`[showPlaceholderOnWhiteSpace]`| Show placeholder when editor is empty but contains whitespace characters |`boolean`|`false`|
19
-
|`[autoFormat]`| Whether to automatically format the document |`boolean`|`true`|
20
-
|`[options]`| Default options when creating editors |`MonacoEditorOptions`| - |
21
-
|`[initDelay]`| Delay initializing monaco editor in ms |`number`|`0`|
22
-
|`[model]`| Model of monaco editor |`CatbeeMonacoEditorModel`| - |
23
-
|`[reInitOnOptionsChange]`| Whether to re-initialize the editor instance when options change. By default, the editor will re-initialize only if the language option changes. Note: Some options (like language) may require re-initialization to take effect. |`boolean`|`false`|
|`[(ngModel)]` or `[(value)]`| Value of monaco editor |`string`| - |
14
+
|`[language]`| Language of monaco editor |`string`|`plaintext`|
15
+
|`[uri]`| URI of monaco editor model |`string`| - |
16
+
|`[height]`| Height of Monaco Editor |`string`|`300px`|
17
+
|`[width]`| Width of Monaco Editor |`string`|`100%`|
18
+
|`[disabled]`| Disabled of monaco editor |`boolean`|`false`|
19
+
|`[placeholder]`| Placeholder of monaco editor, Can change the style via defining the `.monaco-editor-placeholder` CSS. |`string`| - |
20
+
|`[placeholderColor]`| Color of the placeholder text |`string`|`rgba(128, 128, 128, 0.6)`|
21
+
|`[showPlaceholderOnWhiteSpace]`| Show placeholder when editor is empty but contains whitespace characters |`boolean`|`false`|
22
+
|`[autoFormat]`| Whether to automatically format the document |`boolean`|`true`|
23
+
|`[options]`| Default options when creating editors |`MonacoEditorOptions`| - |
24
+
|`[initDelay]`| Delay initializing monaco editor in ms |`number`|`0`|
25
+
|`[reInitOnOptionsChange]`| Whether to re-initialize the editor instance when options change. By default, the editor will re-initialize only if the language option changes. Note: Some options (like language) may require re-initialization to take effect. |`boolean`|`false`|
24
26
25
27
### Events
26
28
@@ -46,19 +48,19 @@ sidebar_position: 4
46
48
|`(editorMouseLeave)`| Event emitted when the mouse leaves the editor |`EventEmitter<MonacoEditorPartialMouseEvent>`|
47
49
|`(editorModelContentChange)`| Event emitted when the content of the current model has changed |`EventEmitter<MonacoModelContentChangedEvent>`|
> A modern Angular library that seamlessly integrates the Monaco Editor, offering fully support for both **single** and **diff** editors — fully compatible with Reactive Forms, Template-driven Forms, and custom data models.
10
+
> A modern Angular library that seamlessly integrates the Monaco Editor, offering full support for both **single** and **diff** editors — fully compatible with Reactive Forms, Template-driven Forms, and Signal Forms.
0 commit comments