ui.modal_button

ui.modal_button(label, icon=None, **kwargs)

Creates a button that will dismiss a modal.

modal_button is usually passed to the footer of a modal to add a button to the footer that will close the modal.

Parameters

label : TagChild

An input label.

icon : TagChild = None

An icon to appear inline with the button/link.

****kwargs** : TagAttrValue = {}

Attributes to be applied to the button.

Returns

: Tag

A UI element

See Also

Examples

Loading...