Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HtmlAnchorPositionCallback

Function interface for position update callback of HTML anchors passed in function

Hierarchy

  • HtmlAnchorPositionCallback

Callable

  • HtmlAnchorPositionCallback(htmlEl: HTMLElement, elSize: Point2d, anchorPos: Point2d, payload: any): void
  • Function interface for position update callback of HTML anchors passed in function

    Parameters

    • htmlEl: HTMLElement

      Contains the HTML element that is associated with this anchor

    • elSize: Point2d

      Size of the HTML element, can be useful for shifting the elements position

    • anchorPos: Point2d

      Anchor position relative to viewer origin

    • payload: any

      Freely configurable set of data that has been passed in function

    Returns void

Generated using TypeDoc