Skip to content

awesomeeng/zephjs-loading

Repository files navigation

zephjs-loading

An example of a loading screen for usage with the ZephJS Framework. This can be used as is or modified to suit your own tastes.

Contents

Setup

zephjs-loading is available as an npm package:

npm install zephjs-loading

Once installed find the zephjs-loading.js file and copy it into your local project as needed.

Usage

Within your HTML file, include the following as close to top of the file as possible:

<script src="zephjs-loading.js" type="module"></script>

How It Works

ZephJS has a set of events which fire on the browser document object. This includes the zeph:ready event to indicate that ZephJS was loaded and any components pending definition via ZephJS have completed.

zephjs-loading taps that event as well as others in computing how much is left to load and if loading is complete.

Please see the source code of zephjs-loading.js for more details.

Examples

zephjs-loading ships with a set of examples for your reference.

  • Test: The test example which is used during zephjs-loading development.

The Awesome Engineering Company

zephjs-loading is written and maintained by The Awesome Engineering Company. We believe in building clean, configurable, creative software for engineers and architects and customers.

To learn more about The Awesome Engineering Company and our suite of products, visit us on the web at https://awesomeeng.com.

Support and Help

This product is maintained and supported by The Awesome Engineering Company. For support please file an issue or contact us via our Webiste at https://awesomeeng.com. We will do our best to respond to you in a timely fashion.

License

zephjs-loading is released under the MIT License. Please read the LICENSE file for details.

About

Loading screen for ZephJS based applications.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published