OptionalarrowOptionalcenteringDefines the behavior of the provided markup when the originating viewport is smaller than the current viewport, or is scaled to a size smaller than the current viewport using the scale property.
Options: - x-only: Markup will be centered horizontally, but not vertically. - y-only: Markup will be centered vertically, but not horizontally. - both: Markup will be centered both horizontally and vertically. - none: Markup will not be centered (default).
OptionalcircleAn HTML template that describes the HTML to use for new circle markup. It's expected that the template contains a <vertex-viewer-markup-circle>.
OptionaldisabledIf true, disables adding or editing of markup through user interaction.
OptionalendThe style of the ending anchor. This defaults to 'arrow-triangle.'
OptionalfreeformAn HTML template that describes the HTML to use for new freeform markup. It's expected that the template contains a <vertex-viewer-markup-freeform>.
OptionaloffsetThe current offset of the visible viewport. This value is used to determine where markup should be rendered relative to the current viewport, enabling some markup to appear "off-screen".
When provided, all computed coordinates will be offset by this amount.
OptionalonDispatched when a new markup is added, either through user interaction or programmatically.
OptionalonDispatched when an existing piece of markup is changed, either through user interaction or programmatically.
OptionalonDispatched when a markup is removed, either through user interaction or programmatically.
OptionalonDispatched when markup selection changes. Will either be the selected element or undefined indicating that selection was cleared.
OptionaloriginatingThe original viewport dimensions where this markup was created. This value is used to determine where the markup should be rendered relative to the current viewport, enabling some markup to appear "off-screen".
When provided, all NDC values will be considered relative to this viewport.
OptionalscaleThe scale to render this markup at. This value is used to scale the element's bounds along with any offset to determine the final computed coordinates.
When provided, all computed coordinates will be scaled by this amount.
OptionalselectedThe ID of the markup that is selected.
OptionalselectIndicates if new markup should be automatically selected.
OptionalstartThe style of the starting anchor. This defaults to none.
OptionaltoolThe type of markup to perform.
OptionalviewerThe viewer to connect to markup. If nested within a
An HTML template that describes the HTML to use for new arrow markup. It's expected that the template contains a
<vertex-viewer-markup-arrow>.