Loader
Deprecation Notice
Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.
Loader is used to indicate to merchants that a page is loading or an upload is processing.
Setup
To use loader on any page we need to use <fdk-loader>
action component, which can we used with a if condition to enable at a particular scenario, e.g. :
theme/templates/components/loader.vue
<fdk-loader v-if="condition"></fdk-loader>
this code will enable the loader, which can also be given its own CSS by using this action component inside any theme specific loader component and then giving the desired css.