Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DomManagement

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

Hierarchy

  • DomManagement

Index

Methods

Static GetDOMTextContentSearch playground for GetDOMTextContent

  • GetDOMTextContent(element: HTMLElement): string
  • Extracts text content from a DOM element hierarchy

    Parameters

    • element: HTMLElement

      defines the root element

    Returns string

    a string

Static IsDocumentAvailableSearch playground for IsDocumentAvailable

  • IsDocumentAvailable(): boolean
  • Check if the document object exists

    Returns boolean

    true if the document object exists

Static IsNavigatorAvailableSearch playground for IsNavigatorAvailable

  • IsNavigatorAvailable(): boolean
  • Checks if the navigator object exists

    Returns boolean

    true if the navigator object exists

Static IsWindowObjectExistSearch playground for IsWindowObjectExist

  • IsWindowObjectExist(): boolean
  • Checks if the window object exists

    Returns boolean

    true if the window object exists

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method