Migration Guide for nv-loader
In the latest version of the nv-loader component, we've made some changes to the properties to improve usability and consistency. Below is a guide to help you update your existing loaders from version 2 to version 3.
Breaking Changes
1. prop color -> removed, use emphasis instead
The color prop has been removed in favor of using emphasis. If you need a specific color, it will inherit the color value from the parent if omitted.
Old Usage:
<nv-loader color="primary"></nv-loader>
New Usage:
<nv-loader emphasis="high"></nv-loader>
2. prop loading -> removed
The loading prop has been removed. To hide a loader, simply remove it from the DOM. If the loading prop which hid the loader by default.
Old Usage:
<nv-loader loading></nv-loader>
New Usage:
<nv-loader></nv-loader>