FlowFuse / forge-ui-components

Set of FlowForge-themed VueJS components that can be used in any FlowForge web applications.
Apache License 2.0
3 stars 1 forks source link

Add a Loading button with animated spinner #136

Open Steve-Mcl opened 1 year ago

Steve-Mcl commented 1 year ago

Description

When operating async tasks (like the new "Enable Device Editor" button) it would simplify the frontend code and and beautify our UI to have a "Loading Spinner" button like https://tailwindcomponents.com/component/button-with-loader

@joepavitt assigned as requested.

Thanks.

joepavitt commented 1 year ago

Can utilise tailwind's animation classes for this: https://tailwindcss.com/docs/animation#spin

joepavitt commented 1 year ago

Will do in 1.8

joepavitt commented 1 year ago

Can utilise same mechanism added in https://github.com/flowforge/forge-ui-components/pull/151