SiteAlertCloseButtonOptions: {
    closeAriaLabel: string;
    closeButtonClass: string;
    closeCookiePath: string;
    closeEventListenerLabel: string;
}

USASiteAlert component close button options.

Type declaration

  • closeAriaLabel: string

    Unique label used to describe the close button.

  • closeButtonClass: string

    Button class that will close the component.

  • closeCookiePath: string

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

  • closeEventListenerLabel: string

    Label used in analytics.

Generated using TypeDoc