arrow
Adds an arrow to the PopupPanel. The exact position will be calculated by the FloatingUI component and can be collected from computedPosition. The arrow points to the reference element.
By default, a width and height of 8px
each is set by the default class. If you want to change this, you must provide both properties somehow, depending on your CSS handling / framework.
The offset from the reference element has a default of 5px
and can be also adapted as needed.
Remember that fritz2 is completely CSS framework-agnostic!
Parameters
size
the size of the arrow using any valid CSS width
or height
expression. Defaults to 8
each
offset
the distance between the reference element and the panel in pixels. Defaults to 5