Skip to content

ElectronWebContents.showDefinitionForSelection method

ElectronWebContents › showDefinitionForSelection

Unofficial

Shows a pop-up dictionary that searches the selected word on the page. Only available on macOS.

Signature:

showDefinitionForSelection(): void

Returns: void