Skip to content

Session.on('spellcheck-dictionary-download-success') method

Session › on(‘spellcheck-dictionary-download-success’)

Unofficial

Emitted when a hunspell dictionary file has been successfully downloaded.

Signature:

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

Parameters:

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

Returns: this