@duckduckgo/privacy-dashboard
    Preparing search index...

    Class PlatformFeatures

    Use an instance of this class to determine what features are supported on a given platform

    Index

    Constructors

    • Parameters

      • params: {
            includeToggleOnBreakageForm: boolean;
            initialScreen: ScreenKind;
            opener: "menu" | "dashboard";
            randomisedCategories: boolean;
            spinnerFollowingProtectionsToggle: boolean;
            supportsHover: boolean;
            supportsInvalidCertsImplicitly: boolean;
            supportsMaliciousSiteWarning: boolean;
        }

      Returns PlatformFeatures

    Properties

    includeToggleOnBreakageForm: boolean

    Should the toggle functionality be included on the breakage form?

    initialScreen: ScreenKind

    Does the current platform support hover interactions?

    opener: "menu" | "dashboard"

    Does the current platform support hover interactions?

    randomisedCategories: boolean

    Whether or to randomize the categories in the breakage form

    spinnerFollowingProtectionsToggle: boolean

    Should the toggle convert to a spinner when toggled

    supportsHover: boolean

    Does the current platform support hover interactions?

    supportsInvalidCertsImplicitly: boolean

    Does the current platform support hover interactions?

    supportsMaliciousSiteWarning: boolean

    Does the current platform support malicious site warnings?