PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface SnackbarAction

    interface SnackbarAction {
        closeOnClick?: boolean;
        label: string;
        onClick: () => void;
    }
    Index

    Properties

    closeOnClick?: boolean

    Close the snackbar after onClick. Default: true.

    An action replaces the close button, so false leaves the snackbar with no way for the user to dismiss it — pair it with a duration, or close it by key.

    label: string

    Button label — a translation key, or a literal when no key matches.

    onClick: () => void