Skip to content

Inner loading element #3637

Closed Answered by python-and-fiction
JacobMaldonado asked this question in Q&A
Discussion options

You must be logged in to vote
with ui.card().classes('w-96 h-96'):
    with ui.element().classes('w-[320px] h-[320px]') as card:
        card.set_visibility(False)
        for i in range(2):ui.label('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vel magna eu risus laoreet tristique. Nulla ut fermentum elit, nec consequat augue. Morbi et dolor nec metus tincidunt pellentesque. Nullam non semper ante. Fusce pellentesque sagittis felis quis porta. Aenean condimentum neque sed erat suscipit malesuada. Nulla eget rhoncus enim. Duis dictum interdum eros').classes('mb-4')
    with ui.element('q-inner-loading').props('showing') as loading:
        ui.spinner('gears',size='5em')
        ui.label('Please wai…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JacobMaldonado
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
community question A question for the NiceGUI community
2 participants