Quartz Headless docs/applyArrowAttributes

Search documentation

Type to search the documentation.

API: Core

applyArrowAttributes

Mirrors arrow geometry onto a surface element so consumers can style an arrow in plain CSS: data-side, data-placement and --qz-arrow-x/--qz-arrow-y (px; remove…

Overview

Mirrors arrow geometry onto a surface element so consumers can style an arrow in plain CSS: data-side, data-placement and --qz-arrow-x/--qz-arrow-y (px; removed while the arrow is unavailable, with data-qz-arrow="hidden").

Signature

function applyArrowAttributes(el: HTMLElement, arrow: OverlayArrowGeometry): void
Parameter Type Optional Description
el HTMLElement
arrow OverlayArrowGeometry