Skip to content

ElectronApp.setSecureKeyboardEntryEnabled method

ElectronApp › setSecureKeyboardEntryEnabled

Unofficial

Sets whether Secure Keyboard Entry is enabled in the application. macOS only.

Signature:

setSecureKeyboardEntryEnabled(enabled: boolean): void

Parameters:

Parameter Type Description
enabled boolean Whether to enable Secure Keyboard Entry.

Returns: void