Skip to content

ButtonComponent.setLoading method

ButtonComponent › setLoading

Unofficial

Toggles the button's loading state.

Signature:

setLoading(loading: boolean): this

Parameters:

Parameter Type Description
loading boolean Whether the button is loading.

Returns: thisThe button component.