Skip to content

ButtonComponent.setLoading method

ButtonComponent › setLoading

Unofficial

Toggles the button's loading state.

Signature:

setLoading(loading: boolean): this

Parameters:

ParameterTypeDescription
loadingbooleanWhether the button is loading.

Returns: thisThe button component.