Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttributeManipulator<T>

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

Protected Readonly element

element: () => HTMLElement

Type declaration

    • (): HTMLElement
    • Returns HTMLElement

Protected Readonly host

host: T

Methods

after

get

  • get(name: string): string
  • get(firstAttribute: string, secondAttribute: string, ...attributes: string[]): Stream<[]>
  • Parameters

    • name: string

    Returns string

  • Parameters

    • firstAttribute: string
    • secondAttribute: string
    • Rest ...attributes: string[]

    Returns Stream<[]>

has

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

    • Rest ...attributes: string[]

    Returns boolean

remove

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

    • Rest ...attributes: string[]

    Returns T

set

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

    • name: string
    • value: string

    Returns T

  • Parameters

    • attributes: Iterable<[]>

    Returns T

until

Object literals

Protected untilHandler

untilHandler: object

set

set: any = {start: (...args: any[]) => (this as any).set(...args) as T,end: (attribute: string) => this.remove(attribute),} as any

Generated using TypeDoc