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:

Parameter Type Description
event "spellcheck-dictionary-initialized"
listener (event: ElectronEvent, languageCode: string) => void

Returns: this