Interface Kitsy

Hierarchy

  • Kitsy

Properties

after: ((targetFuncName: string, afterFn: (() => void)) => void)

Type declaration

    • (targetFuncName: string, afterFn: (() => void)): void
    • Parameters

      • targetFuncName: string
      • afterFn: (() => void)
          • (): void
          • Returns void

      Returns void

applyHooks: ((this: unknown, root?: unknown) => void)

Type declaration

    • (this: unknown, root?: unknown): void
    • Parameters

      • this: unknown
      • Optional root: unknown

      Returns void

applyInjects: (() => void)

Type declaration

    • (): void
    • Returns void

before: ((targetFuncName: string, beforeFn: (() => void)) => void)

Type declaration

    • (targetFuncName: string, beforeFn: (() => void)): void
    • Parameters

      • targetFuncName: string
      • beforeFn: (() => void)
          • (): void
          • Returns void

      Returns void

inject: ((searcher: string | RegExp, replacer: ((substring: string, ...args: any[]) => string)) => void)

Type declaration

    • (searcher: string | RegExp, replacer: ((substring: string, ...args: any[]) => string)): void
    • test

      Parameters

      • searcher: string | RegExp
      • replacer: ((substring: string, ...args: any[]) => string)
          • (substring: string, ...args: any[]): string
          • Parameters

            • substring: string
            • Rest ...args: any[]

            Returns string

      Returns void

queuedAfterScripts: Record<string, ((...args: unknown[]) => unknown)[]>
queuedBeforeScripts: Record<string, ((...args: unknown[]) => unknown)[]>
queuedInjectScripts: {
    replacer: ((substring: string, ...args: any[]) => string);
    searcher: string | RegExp;
}[]

Generated using TypeDoc