HTMLSecretUpdateCallback: ((secret, content) => Promise<ClientDocument>)

Type declaration

    • (secret, content): Promise<ClientDocument>
    • Parameters

      • secret: HTMLElement

        The secret element that is being manipulated.

      • content: string

        The content block containing the updated secret element.

      Returns Promise<ClientDocument>