libs/core/monaco-editor/src/lib/monaco-editor/config.ts
Properties |
|
| baseUrl (Optional) | |
| Type |
string
|
| defaultOptions (Optional) | |
| Type |
literal type
|
| monacoRequire (Optional) | |
| Type |
function
|
| onMonacoLoad (Optional) | |
| Type |
function
|
| requireConfig (Optional) | |
| Type |
literal type
|
import { InjectionToken } from '@angular/core';
export const NGX_MONACO_EDITOR_CONFIG = new InjectionToken('NGX_MONACO_EDITOR_CONFIG');
export interface NgxMonacoEditorConfig {
baseUrl?: string;
requireConfig?: { [key: string]: any };
defaultOptions?: { [key: string]: any };
monacoRequire?: (...args: any[]) => any;
onMonacoLoad?: (...args: any[]) => any;
}