Example code
Example code
handler
is provided, the button renders an inline loading state while the promise settles, then a
success or error glyph.
Usage
Reference
Parameters
Complex values (
Record<string, boolean>) must be assigned via the disabled JS property instead.Complex values (
Component) must be assigned via the icon JS property instead.Events
The element dispatches nativeCustomEvents; the payload is in event.detail.
event.detail: [event: MouseEvent]