Genie Discord forum

Author AvatarMordegai
9/13/2023, 10:43:07 AM

I'd like to add a progress bar to my UI. Apparently that component isn't covered by Stipple.jl yet.

I've read the documentation on adding quasar components that are not yet implemented in Stipple.jl but it's unclear how to exactly go about it.

I'm using an html file to define my UI components in. How do I make sure I can use the q-progress component in my html file? I already tried calling quasar(:progress) in the app.jl file, both at the global level and in the @app macro but that doesn't seem to work.

Author AvatarPere
9/19/2023, 8:19:47 AM

I assume you're trying to use the q-progress-bar component from Quasar

If you're implementing the UI in HTML, then you should be able to add the component as in the Quasar docs.

To use the low-code API, the call is quasar(:q__linear__progress).

For instance, to generate a btn-toggle component which is not yet implemented in StippleUI you can use this

quasar(:btn__toggle, v__model=:choosen_sample_data, options=:sample_data, style="flex-wrap: wrap") If you can share a MWE I'll give it a try if it doesn't work.