ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
26 lines (25 loc) • 894 B
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { BehaviorSubject, Observable } from 'rxjs';
import { JoinedEditorOptions, NzCodeEditorConfig } from './nz-code-editor.definitions';
export declare class NzCodeEditorService {
private config;
private document;
private firstEditorInitialized;
private loaded$;
private loadingStatus;
private option;
option$: BehaviorSubject<JoinedEditorOptions>;
constructor(config: NzCodeEditorConfig, _document: any);
updateDefaultOption(option: JoinedEditorOptions): void;
requestToInit(): Observable<JoinedEditorOptions>;
private loadMonacoScript;
private onInit;
private onLoad;
private getLatestOption;
}