Dock

    The custom dock is commonly used to add shortcuts to tasks the user wouldn’t want to open the whole app window for.

    docs/fiddles/features/macos-dock-menu (23.0.0)

    • main.js
    • index.html
    1. <html>
    2. <meta charset="UTF-8">
    3. <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
    4. </head>
    5. <p>Right click the dock icon to see the custom menu options.</p>
    6. </body>
    7. </html>

    macOS dock menu