LoadingBar🥖
this is LoadingBar component
Code demonstration
import { ULoadingBar } from 'ungeui';
Basic useage🚀
Custom closing time⏱
We recommend that an application can only have one instance of 'loadingbar'
So what you export is an object, which can be turned on and off by calling 'start()' and 'end()'.
Custom color🌈
You may have a need for color...
APIs
start(config)
end()
config
Type | meaning | default value |
---|---|---|
color | color of loading bar | #13c2c2 |