Skip to content

Emitter <T>

原文链接

https://microsoft.github.io/monaco-editor/docs.html#classes/Emitter.html

constructor

  • 语法:new Emitter<T>(): Emitter<T>

event

  • 语法:event: Event<T>

dispose

  • 语法:dispose(): void

fire

  • 语法:fire(event: T): void