jwstegemann / fritz2

Easily build reactive web-apps in Kotlin based on flows and coroutines.
https://www.fritz2.dev
MIT License
627 stars 25 forks source link

Improves PopUpPanel #835

Closed Lysander closed 6 months ago

Lysander commented 6 months ago

This can be tested with the following snippet. Just paste it somewhere into the 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!"
        }

    }
}