Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataManipulator<T, U>

Type parameters

  • T

  • U: Until<T> | undefined

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new DataManipulator(host: T, element: () => HTMLElement): DataManipulator
  • Parameters

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

    Returns DataManipulator

Properties

Protected Readonly element

element: () => HTMLElement

Type declaration

    • (): HTMLElement
    • Returns HTMLElement

Protected Readonly host

host: T

Protected Optional untilHandler

untilHandler: UntilHandler<T, EmptyIfUndefined<U>>

Methods

after

get

  • get(name: string): string
  • get(name: string, ...keys: string[]): Stream<[]>
  • Parameters

    • name: string

    Returns string

  • Parameters

    • name: string
    • Rest ...keys: string[]

    Returns Stream<[]>

has

  • has(...keys: string[]): boolean
  • Parameters

    • Rest ...keys: string[]

    Returns boolean

remove

  • remove(...keys: string[]): T
  • Parameters

    • Rest ...keys: string[]

    Returns T

set

  • set(name: string, value: string): T
  • set(data: Iterable<[]>): T
  • Parameters

    • name: string
    • value: string

    Returns T

  • Parameters

    • data: Iterable<[]>

    Returns T

until

Generated using TypeDoc