mvysny / karibu-dsl

Kotlin Vaadin extensions and DSL
http://www.vaadinonkotlin.eu
MIT License
126 stars 16 forks source link

There is no documentation on FlexLayout on vaaadin website #59

Open vlipovetskii opened 1 year ago

vlipovetskii commented 1 year ago

karibu-dsl supports FlexLayout with flexLayout {}

/**
 * Creates a [Flex Layout](https://vaadin.com/elements/vaadin-ordered-layout/). See the HTML Examples link for a list
 * of possible alternative themes for the button.
 * @param classNames optional additional class names, space-separated
 */

https://vaadin.com/elements/vaadin-ordered-layout/ -> Page Not Found. Where to find the documentation about Flex Layout ? Or, Vaadin is going to deprecate Flex Layout ?

mvysny commented 1 year ago

Hi, excellent question! I couldn't find the FlexLayout documentation anywhere at https://vaadin.com/docs/latest/components/basic-layouts . I doubt FlexLayout will go away - it's present in Vaadin 24.0.0.beta5 which is a good indication that it's here to say. However, a good documentation on FlexLayout would be good to have. A ticket is submitted upstream: https://github.com/vaadin/docs/issues/2124

Once the documentation is in, we'll have to update the kdoc link.