Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface View

View instances are compiled from wml template files.

They provide an api for rendering user interfaces and querying individual objects(WMLElement) it is made of.

Hierarchy

Implemented by

Index

Methods

findById

  • findById retrives a WMLElement that has been assigned a wml:id attribute matching id.

    Parameters

    • id: string

    Returns WMLElement

findGroupByName

  • findGroupByName retrives an array of WMLElements that have a wml:group attribute matching name.

    Parameters

    • name: string

    Returns WMLElement[]

invalidate

  • invalidate(): void
  • invalidate this View causing the DOM to be re-rendered.

    Re-rendering is done by finding the parentNode of the root of the View's Content and replacing it with a new version. If the view has not yet been added to the DOM, this will fail.

    Returns void

render

Generated using TypeDoc