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
|`assetsRoot`| Where should the component load resource of monaco editor |`string`\|`SafeUrl`| - |
95
95
|`defaultEditorOption`| Default options. [Please refer to the doc of monaco editor](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorOptions.html)|`IEditorConstructionOptions`|`{}`|
96
-
|`onLoad`| The hook invoked when the resource of monaco editor is loaded. At this moment and afterwards the global variable `monaco` is usable (`window.MonacoEnvironment = { globalAP: true }` is required if monaco-editor's version is greater or equal to 0.22.0) |`() => void`| - |
96
+
|`onLoad`| The hook invoked when the resource of monaco editor is loaded. At this moment and afterwards the global variable `monaco` is usable (`window.MonacoEnvironment = { globalAPI: true }` is required if monaco-editor's version is greater or equal to 0.22.0) |`() => void`| - |
97
97
|`onFirstEditorInit`| The hook invoked when the first monaco editor is initialized |`() => void`| - |
98
98
|`onInit`| The hook invoked every time a monaco editor is initialized |`() => void`| - |
|`[nzType]`| to set the type |`'line' \| 'circle' \| 'dashboard'`|`'line'`|
28
-
|`[nzFormat]`| template function of the content |`(percent: number) => string \| TemplateRef<{ $implicit: number }>`|`percent => percent + '%'`|
29
-
|`[nzPercent]`| to set the completion percentage |`number`|`0`|
27
+
|`[nzType]`| to set the type |`'line' \| 'circle' \| 'dashboard'`|`'line'`||
28
+
|`[nzFormat]`| template function of the content |`(percent: number) => string \| TemplateRef<{ $implicit: number }>`|`percent => percent + '%'`||
29
+
|`[nzPercent]`| to set the completion percentage |`number`|`0`||
30
30
|`[nzShowInfo]`| whether to display the progress value and the status icon |`boolean`|`true`| ✅ |
31
-
|`[nzStatus]`| to set the status of the Progress |`'success' \| 'exception' \| 'active' \| 'normal'`| - |
31
+
|`[nzStatus]`| to set the status of the Progress |`'success' \| 'exception' \| 'active' \| 'normal'`| - ||
32
32
|`[nzStrokeLinecap]`| to set the style of the progress linecap |`'round' \| 'square'`|`'round'`| ✅ |
33
33
|`[nzStrokeColor]`| color of progress bar, render linear-gradient when passing an object |`string \| { from: string; to: string: direction: string; [percent: string]: string }`| - | ✅ |
0 commit comments