devowl-wp
    Preparing search index...

    See PHP file inc/Assets.php.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    busyDeclarations: boolean = false
    busyGvl: boolean = false
    busyVendors: boolean = false
    chunkFolder?: string
    chunks?: Record<string, string[]>
    chunksLanguageFolder?: string
    dataCategories: Map<string, TcfDataCategory> = ...
    declarations: Omit<Declarations, "stacks">
    features: Map<string, TcfFeature> = ...
    fetchDeclarations: () => Promise<void> = ...
    fetchedAllVendorConfigurations: boolean = false
    fetchVendorConfigurations: () => Promise<void> = ...
    fetchVendors: () => Promise<void> = ...
    gvlSpecificationVersion: number
    publicUrl?: string
    purposes: Map<string, TcfPurpose> = ...
    restNamespace?: string
    restNonce?: string
    restPathObfuscateOffset?: string
    restQuery?: object
    restRecreateNonceEndpoint?: string
    restRoot?: string
    restUrl?: string
    rootStore: RootStore
    slug: string
    specialFeatures: Map<string, TcfFeature> = ...
    specialPurposes: Map<string, TcfPurpose> = ...
    tcfPolicyVersion: number
    textDomain: string
    updateGvl: () => Promise<void> = ...
    vendorConfigurations: TcfVendorConfigurationCollection
    vendorListVersion: number
    vendors: Map<string, TcfVendor> = ...
    version: string

    Accessors

    • get vendorConfigurationCount(): number

      Returns number

    Methods

    • Get the slug from the current process (webpack) instead of the PHP plugin output. For some cases you need to use that.

      Parameters

      • slug: string
      • camelCase: boolean = false

      Returns string

    • Convert a slug like "my-plugin" to "myPlugin". This can be useful for library naming (window[""] is bad because the hyphens).

      Parameters

      • slug: string

      Returns string