Javascript in Pro Version included? #1101
-
|
Hello, We are evaluating using Flowbite Pro for our project and would appreciate some clarification on interactive component features. Specifically: For a Multiselect dropdown component (e.g., selecting multiple items in a dropdown list): Does Flowbite Pro provide an out-of-the-box JS API for this (e.g., initialization via JS, methods like getSelected(), setSelected(), etc.)? Or is the Multiselect only provided as a UI component requiring us to build the JS logic (data fetching, programmatic selection, reading values) ourselves? For a Datepicker with range support (start & stop dates, etc.): Does Flowbite Pro include a JS API for this (e.g., setup via JS, listening to changes, retrieving selected date range) Or is the datepicker primarily a UI widget and any advanced logic (range handling, custom callbacks) must be implemented by us? Context: Thank you in advance for your clarification. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Dear @SteRoll, Thanks for considering supporting our work. The components are primarily UI widgets, however, some of our components do have callback handles such as the modal. We'll improve the API usage in this case, Flowbite React, however, has a more integrated API selection integration. You can view this either as an advantage or disadvantage. Advantage as in you can build the hooks your own way, disadvantage of having to build them. At Flowbite we primarily set out to create UI to be used in a very flexible way by projects. We're now working on a big update introducing themes and variables to the docs, maybe even this week. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hello @zoltanszogyenyi, thank you very much for the extremely quick response, I appreciate it. Unfortunately, React is currently not an option, however |
Beta Was this translation helpful? Give feedback.
Dear @SteRoll,
Thanks for considering supporting our work.
The components are primarily UI widgets, however, some of our components do have callback handles such as the modal.
We'll improve the API usage in this case, Flowbite React, however, has a more integrated API selection integration.
You can view this either as an advantage or disadvantage. Advantage as in you can build the hooks your own way, disadvantage of having to build them. At Flowbite we primarily set out to create UI to be used in a very flexible way by projects.
We're now working on a big update introducing themes and variables to the docs, maybe even this week.
Thanks!