Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Component

Index

Constructors

constructor

Properties

adapter

adapter: TAdapter

Optional ancestor

ancestor: Component<TNode, TAdapter>

Abstract selector

selector: string

Methods

findNodes

  • findNodes(): Promise<TNode[]>

findUniqueNode

  • findUniqueNode(): Promise<TNode>

first

  • first(): this
  • A call to this method is the same as: this.nth(1)

    Returns this

last

  • last(): this
  • A call to this method is the same as: this.nth(-1)

    Returns this

nth

  • nth(position: number): this
  • Parameters

    • position: number

    Returns this

    An extended copy of this component.

Protected reconstruct

  • reconstruct(): this

toString

  • toString(): string

where

  • where<TValue>(getter: function, predicate: Predicate<TValue>): this
  • Type parameters

    • TValue

    Parameters

    • getter: function
        • (component: this): Effect<TValue>
        • Parameters

          • component: this

          Returns Effect<TValue>

    • predicate: Predicate<TValue>

    Returns this

    An extended copy of this component.