FixIt JavaScript API
    Preparing search index...

    Interface FixItDecryptorInstance

    interface FixItDecryptorInstance {
        init: (options: { all?: boolean; shortcode?: boolean }) => void;
        validateCache: () => this;
    }
    Index
    init: (options: { all?: boolean; shortcode?: boolean }) => void

    Initialize page-level and/or shortcode-level decryption based on flags.

    Type Declaration

      • (options: { all?: boolean; shortcode?: boolean }): void
      • Parameters

        • options: { all?: boolean; shortcode?: boolean }

          { all?, shortcode? } controlling which modes to activate.

          • Optionalall?: boolean

            Enable whole-page decryption.

          • Optionalshortcode?: boolean

            Enable shortcode-level decryption.

        Returns void

    validateCache: () => this

    Restore decrypted content from localStorage cache if the password has not expired.