Type Parameters

  • T

Hierarchy

Constructors

  • Type Parameters

    • T

    Parameters

    • host: T
    • element: (() => HTMLElement)
        • (): HTMLElement
        • Returns HTMLElement

    Returns ClassManipulator<T>

Properties

element: (() => HTMLElement)

Type declaration

    • (): HTMLElement
    • Returns HTMLElement

host: T
untilHandler: {
    add: {
        end: ((...classes: string[]) => T);
        start: ((...classes: string[]) => T);
    };
    remove: {
        end: ((...classes: string[]) => T);
        start: ((...classes: string[]) => T);
    };
    toggle: {
        end: ((hasClass: boolean, ...classes: string[]) => T);
        start: ((hasClass: boolean, ...classes: string[]) => T);
    };
} = ...

Type declaration

  • add: {
        end: ((...classes: string[]) => T);
        start: ((...classes: string[]) => T);
    }
    • end: ((...classes: string[]) => T)
        • (...classes: string[]): T
        • Parameters

          • Rest ...classes: string[]

          Returns T

    • start: ((...classes: string[]) => T)
        • (...classes: string[]): T
        • Parameters

          • Rest ...classes: string[]

          Returns T

  • remove: {
        end: ((...classes: string[]) => T);
        start: ((...classes: string[]) => T);
    }
    • end: ((...classes: string[]) => T)
        • (...classes: string[]): T
        • Parameters

          • Rest ...classes: string[]

          Returns T

    • start: ((...classes: string[]) => T)
        • (...classes: string[]): T
        • Parameters

          • Rest ...classes: string[]

          Returns T

  • toggle: {
        end: ((hasClass: boolean, ...classes: string[]) => T);
        start: ((hasClass: boolean, ...classes: string[]) => T);
    }
    • end: ((hasClass: boolean, ...classes: string[]) => T)
        • (hasClass: boolean, ...classes: string[]): T
        • Parameters

          • hasClass: boolean
          • Rest ...classes: string[]

          Returns T

    • start: ((hasClass: boolean, ...classes: string[]) => T)
        • (hasClass: boolean, ...classes: string[]): T
        • Parameters

          • hasClass: boolean
          • Rest ...classes: string[]

          Returns T

Methods

  • Parameters

    • Rest ...classes: string[]

    Returns T

  • Note: Alias of hasEvery

    Parameters

    • Rest ...classes: string[]

    Returns boolean

  • Parameters

    • Rest ...classes: string[]

    Returns boolean

  • Parameters

    • Rest ...classes: string[]

    Returns boolean

  • Parameters

    • Rest ...classes: string[]

    Returns boolean

  • Parameters

    • Rest ...classes: string[]

    Returns T

  • Parameters

    • start: string

    Returns T

  • Returns Stream<string>

  • Parameters

    • Rest ...classes: string[]

    Returns T

  • Parameters

    • hasClass: boolean
    • Rest ...classes: string[]

    Returns T

  • Returns IterableIterator<string>

Generated using TypeDoc