DomManagement

Sets of helpers dealing with the DOM and some of the recurrent functions needed in Babylon.js

Hierarchy

  • DomManagement

Index

Methods

Static GetDOMTextContent

Find examples in Playground
  • GetDOMTextContent(element: HTMLElement): string
  • Extracts text content from a DOM element hierarchy

    Parameters

    • element: HTMLElement

      defines the root element

    Returns string

    a string

Static IsWindowObjectExist

Find examples in Playground
  • IsWindowObjectExist(): boolean
  • Checks if the window object exists

    Returns boolean

    true if the window object exists

Generated using TypeDoc