Popover
An opinionated way to use levitate
.
DOM
html
<body>
<div data-pop><slot name="popper" /></div>
</body>
Command List
Command List | |
---|---|
Open. | |
Close. |
Basics
<slot name="default" />
is used:
Trigger | DOM Event Listener |
---|---|
click | anc.click |
hover | anc.pointerenter, anc.pointerout, pop.pointerenter, pop.pointerout |