• Preparing search index...
  • The search index is not available
@duckduckgo/privacy-dashboard
  • @duckduckgo/privacy-dashboard
  • macOS integration
  • privacyDashboardGetToggleReportOptions

Function privacyDashboardGetToggleReportOptions

  • privacyDashboardGetToggleReportOptions(): Promise<ToggleReportScreen>

    Returns Promise<ToggleReportScreen>

    Example

    When the Dashboard loads, it will call this message handler...

    window.webkit.messageHandlers.privacyDashboardGetToggleReportOptions.postMessage({})
    

    ... then, to reply with the correct data, call evaluate on the following window method:

    The JSON object should match "Generated Schema Definitions".ToggleReportScreen

    window.onGetToggleReportOptionsResponse({ "data": [...] })
    

    Sample JSON 📝

    • Defined in shared/js/browser/macos-communication.js:321

Settings

Member Visibility
@duckduckgo/privacy-dashboard
  • Loading...

Generated using TypeDoc