TyphonJS Runtime Library (FVTT) 0.2.0-next.1
  • #runtime/svelte/store/position
  • applyPosition

Function applyPosition

  • applyPosition(node, position): ActionReturn<TJSPosition | Positionable>
  • Provides an action to apply a TJSPosition instance to a HTMLElement and invoke position.parent

    Parameters

    • node: HTMLElement

      The node associated with the action.

    • position: TJSPosition | Positionable

      A position or positionable instance.

    Returns ActionReturn<TJSPosition | Positionable>

    The action lifecycle methods.

Settings

Member Visibility
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.2.0-next.1