SiteAlertCollapseOptions: {
    collapseAriaLabel: string;
    collapseButtonClass: string;
    collapseCookiePath?: string;
    collapseEventListenerLabel: string;
}

USASiteAlert component collapse options.

Type declaration

  • collapseAriaLabel: string

    Unique label used to describe the button.

  • collapseButtonClass: string

    Button class that toggles collapsible section.

  • Optional collapseCookiePath?: string

    Path sessionStorage will check so USASiteAlert can be used across subdirectories with similar domains, e.g. cancer.gov/ and cancer.gov/nano

  • collapseEventListenerLabel: string

    Label used in analytics.

Generated using TypeDoc