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").
- Kind: Function
- Source: packages/core/src/overlay/overlay-ref.ts:386
Signature
function applyArrowAttributes(el: HTMLElement, arrow: OverlayArrowGeometry): void
| Parameter | Type | Optional | Description |
|---|---|---|---|
el |
HTMLElement |
||
arrow |
OverlayArrowGeometry |