devowl-wp
    Preparing search index...

    See PHP file inc/Assets.php.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    busyStats: { buttonClicked: boolean; customBypass: boolean; main: boolean } = ...
    chunkFolder?: string
    chunks?: Record<string, string[]>
    chunksLanguageFolder?: string
    fetchButtonsClicked: () => Promise<void> = ...
    fetchCustomBypass: () => Promise<void> = ...
    fetchMain: () => Promise<void> = ...
    filters: { context: string; dates: [Moment, Moment] } = ...
    publicUrl?: string
    restNamespace?: string
    restNonce?: string
    restPathObfuscateOffset?: string
    restQuery?: object
    restRecreateNonceEndpoint?: string
    restRoot?: string
    restUrl?: string
    rootStore: RootStore
    slug: string
    stats: {
        buttonsClicked: ResponseRouteStatsButtonsClickedGet;
        customBypass: ResponseRouteStatsCustomBypassGet;
        main: ResponseRouteStatsMainGetEntry[];
    } = ...
    textDomain: string
    version: string

    Methods

    • This action does not actually refetch the stats, you need to act on your components!

      Parameters

      • context: string

      Returns void

    • This action does not actually refetch the stats, you need to act on your components!

      Parameters

      • dates: [Moment, Moment]

      Returns void

    • 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