Skip to content
Discussion options

You must be logged in to vote
with ui.button('Item').classes('w-96') as button:
    button.on_click(lambda :ui.notify('button'))
    ui.space()
    icon = ui.icon('delete').classes('z-0')
    icon.on('click',js_handler='(e)=>{e.stopPropagation()}')
    icon.on('click',lambda :ui.notify('icon'))

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@python-and-novella
Comment options

@Autism-al
Comment options

Comment options

You must be logged in to vote
1 reply
@Autism-al
Comment options

Answer selected by Autism-al
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants