Interface IsomorphicHTMLElement

Structure representing one HTML element

Hierarchy

  • IsomorphicHTMLElement

Properties

Methods

Properties

attrs: Record<string, string>

Get all element attributes

Param

HTML selector

text: string

Get the combined text contents of each element in the set of matched elements, including their descendants

Param

HTML selector

Methods

  • Find one HTML element by provided HTML Selector

    Parameters

    • selector: string

      HTML selector

    Returns undefined | IsomorphicHTMLElement

  • Find all HTML elements by provided HTML Selector

    Parameters

    • selector: string

      HTML selector

    Returns IsomorphicHTMLElement[]

Generated using TypeDoc