react-lgpd-consent v0.9.1
    Preparing search index...

    Interface RegisteredScript

    Tipos de props para o componente ConsentScriptLoader.

    Types

    0.4.1

    interface RegisteredScript {
        allowReload?: boolean;
        category: string;
        execute: () => void | Promise<void>;
        id: string;
        onConsentUpdate?: (
            consent: { consented: boolean; preferences: ConsentPreferences },
        ) => void;
        priority?: number;
    }
    Index

    Properties

    allowReload?: boolean
    category: string
    execute: () => void | Promise<void>
    id: string
    onConsentUpdate?: (
        consent: { consented: boolean; preferences: ConsentPreferences },
    ) => void
    priority?: number