Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/models/render-html

Index

Functions

Functions

renderTemplate

  • renderTemplate(templateLayout: HTMLDivElement, modules: ModuleFlux[]): HTMLDivElement
  • Render a templated layout containing reference to modules' views.

    The templated layout, in addition to any regular HTML Element, can contains reference wrapper elements to some modules' view. A reference element is a HTMLDivElement with id equal to associated module's id

    Parameters

    • templateLayout: HTMLDivElement

      The template layout

    • modules: ModuleFlux[]

      the list of modules included in templateLayout, only the module defining a ModuleRendererRun view will be considered

    Returns HTMLDivElement

    the input div templateLayout with wrapper module's div containing the actual modules' view

Generated using TypeDoc