lime-elements icon indicating copy to clipboard operation
lime-elements copied to clipboard

SplitButton: Add loading/loadingFailed properties

Open TommyLindh2 opened this issue 1 year ago • 0 comments

New feature motivation

I have a "create new dialog" that have a create button and some extra save actions that does some extra things to the created object. While the saving happens it would be nice to support the loading state (Adding a spinner on the button) and also support, success/fail state so that you can handle exceptions/successes. So it's easier for the user to understand what happens.

New feature description

I would want the limel-split-button to have the same loading support as a regular limel-button i.e. adding the properties: loading and loadingFailed that behaves in the same way as in the limel-button

TommyLindh2 avatar Mar 01 '24 13:03 TommyLindh2