ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
26 lines (25 loc) • 911 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 { SafeUrl } from '@angular/platform-browser';
import { InjectionToken } from '@angular/core';
export declare type NzEditorMode = 'normal' | 'diff';
export declare type JoinedEditorOption = any;
export declare enum NzCodeEditorLoadingStatus {
UNLOAD = "unload",
LOADING = "loading",
LOADED = "LOADED"
}
export interface NzCodeEditorConfig {
assetsRoot?: string | SafeUrl;
defaultEditorOption?: JoinedEditorOption;
onLoad?(): void;
onFirstEditorInit?(): void;
onInit?(): void;
}
export declare const NZ_CODE_EDITOR_CONFIG: InjectionToken<NzCodeEditorConfig>;
export declare function NZ_CODE_EDITOR_CONFIG_FACTORY(): NzCodeEditorConfig;