interface HTMLSecretConfiguration {
    parentSelector: string;
    callbacks: {
        content: HTMLSecretContentCallback;
        update: HTMLSecretUpdateCallback;
    };
}

Properties

parentSelector: string

The CSS selector used to target content that contains secret blocks.

callbacks: {
    content: HTMLSecretContentCallback;
    update: HTMLSecretUpdateCallback;
}

An object of callback functions for each operation.

Type declaration