Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Common

Common functionality shared between WaferClient and WaferServer

Index

Functions

Functions

Const updateTargets

  • updateTargets(apply: Function, el: Element | ServerElement, __namedParameters: { targets: undefined | Target[]; value: any }): Promise<void>
  • Updated the the targets of a component

    Parameters

    • apply: Function

      function that will query DOM and apply changes to matches

    • el: Element | ServerElement

      the DOM root to query

    • __namedParameters: { targets: undefined | Target[]; value: any }
      • targets: undefined | Target[]
      • value: any

    Returns Promise<void>

    Return a promise so the updates can be awaited in server context

Generated using TypeDoc