A Derby JS component to indicate page loads. It can be used to display a progress bar, spinner, etc. while a route waits to be rendered.
$ npm install d-page-load --save
Create a view:
<index: element="page-load">
{{if loading}}
<i class="spinner"></i> Loading…
{{/}}
Associate the view with the component:
app.use('page-load', require('d-page-load'));
Use the view:
<Body:>
<page-load></page-load>