You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to have a xhr request on switch toggle - for example to star or unstar element. It would be nice to have a third state icon (for example a progress spinner) that I could display (even manually). It would be also nice to provide a function name to call or event that I can bind to.
When function name is provided then -progress icon is displayed untill that function returns true. (maybe returning false would display 4th icon ? that would be even more perfect ;)
Describe alternatives you've considered
I am not that fluent with javascript so I am trying to do a very messy workarounds to make it happen :/
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to have a xhr request on switch toggle - for example to star or unstar element. It would be nice to have a third state icon (for example a progress spinner) that I could display (even manually). It would be also nice to provide a function name to call or event that I can bind to.
Describe the solution you'd like
When function name is provided then -progress icon is displayed untill that function returns true. (maybe returning false would display 4th icon ? that would be even more perfect ;)
Describe alternatives you've considered
I am not that fluent with javascript so I am trying to do a very messy workarounds to make it happen :/
The text was updated successfully, but these errors were encountered: