https://github.com/afeiship/loading-screen
Pure loading-screen for spa.
https://github.com/afeiship/loading-screen
loading lskit screen service-worker spa spinkit sw
Last synced: about 1 month ago
JSON representation
Pure loading-screen for spa.
- Host: GitHub
- URL: https://github.com/afeiship/loading-screen
- Owner: afeiship
- License: mit
- Created: 2019-12-12T13:48:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T09:00:05.000Z (over 1 year ago)
- Last Synced: 2025-03-17T22:55:52.369Z (7 months ago)
- Topics: loading, lskit, screen, service-worker, spa, spinkit, sw
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# loading-screen
> Pure loading-screen for spa.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## usage
```htmlwindow.lskit()
.loading-screen{
--ls-opts-top: 37.5%;
--ls-opts-bar-color: #1890ff;
--ls-opts-bar-width: 4px;
--ls-opts-text-color: #999;
}
```
## lskit options
```json
{
"id": "root",
"lang": "language",
"en-US": "Loading...",
"zh-CN": "应用加载中...",
}
```## preview
- https://afeiship.github.io/loading-screen/## license
Code released under [the MIT license](https://github.com/afeiship/loading-screen/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/loading-screen
[version-url]: https://npmjs.org/package/@jswork/loading-screen[license-image]: https://img.shields.io/npm/l/@jswork/loading-screen
[license-url]: https://github.com/afeiship/loading-screen/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/loading-screen
[size-url]: https://github.com/afeiship/loading-screen/blob/master/dist/loading-screen.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/loading-screen
[download-url]: https://www.npmjs.com/package/@jswork/loading-screen