am-editor-001/docs/api/language.md

467 B

Language

Add multi-language configuration to the editor

Type: LanguageInterface

Constructor

new (lange: string, data: {} = {}): LanguageInterface

Method

add

Increase language configuration

Method signature

add(data: {}): void;

get

Get the value of the language configuration item

/**
  * @param keys The keys of multiple configuration items
  * */
get<T extends string | {}>(...keys: Array<string>): T;