Closed Lysander closed 6 months ago
arrow
offset
PopUpPanel
middleware
This can be tested with the following snippet. Just paste it somewhere into the headless-demo:
headless-demo
popOver { popOverButton(classes = "mr-3 mt-2") { +"Click me" } popOverPanel("z-30 bg-gray-100") { arrow("w-10 h-10", 25) div("p-3 py-4") { +"With Arrow Beneath Text!" } } }
arrow
-factory to take someoffset
-parameter alongside to the size parameter that is meant for changing width and heightPopUpPanel
usage,arrow
-usage ormiddleware
-usage.This can be tested with the following snippet. Just paste it somewhere into the
headless-demo
: