Skip to content

Session.on('spellcheck-dictionary-initialized') method

Session › on(‘spellcheck-dictionary-initialized’)

Unofficial

Emitted when a hunspell dictionary file has been successfully initialized.

Signature:

on($event: "spellcheck-dictionary-initialized", listener: ($event: ElectronEvent, languageCode: string) => void): this

Parameters:

ParameterTypeDescription
$event"spellcheck-dictionary-initialized"
listener($event: ElectronEvent, languageCode: string) => void

Returns: this