Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GomlLoader

Provides the features to fetch Goml source.

Hierarchy

  • GomlLoader

Index

Properties

Static callInitializedAlready

callInitializedAlready: boolean = false

Static initializedEventHandlers

initializedEventHandlers: function[] = []

Methods

Static loadForPage

  • loadForPage(): Promise<void>
  • Load all Goml sources contained in HTML.

    Returns Promise<void>

    [the promise to wait for all goml loading]

Static loadFromQuery

  • loadFromQuery(query: string): Promise<void>
  • Load from the script tags which will be found with specified query.

    Parameters

    • query: string

    Returns Promise<void>

    [the promise to wait for all goml loading]

Static loadFromScriptTag

  • loadFromScriptTag(scriptTag: HTMLScriptElement): Promise<void>
  • Obtain the Goml source from specified tag.

    Parameters

    • scriptTag: HTMLScriptElement

    Returns Promise<void>

    [the promise to wait for loading]

Generated using TypeDoc