Skip to content

VoidEmitter

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/editor/src/utils/voidEmitter.ts

An emitter object that has a single subscription that will be executed. The construct is used so that the lexical nodes can focus their React component editors.

Properties

PropertyType
subscribe(cb: () => void) => void

Was this page helpful?

Download as PDF