Options
All
  • Public
  • Public/Protected
  • All
Menu
class
classdesc

Handles DOM manipulation

Hierarchy

  • domManip

Index

Methods

Static createElem

  • createElem(template: string, appendToElement: Element, id?: string): void
  • function

    createElem

    description

    Creates an element

    Parameters

    • template: string

      the template of the element to be created

    • appendToElement: Element

      Element to be appended to

    • Optional id: string

      id if any

    Returns void

Static createElemTag

  • createElemTag(tagName: string, appendToElement: Element): void
  • function

    createElemTag

    description

    Creates an element tag

    Parameters

    • tagName: string

      name of the tag

    • appendToElement: Element

      Element to be appended to

    Returns void