• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Application loading UI for Ember.js apps

Ember-load

A simple loading indicator, while your static assets download, and your Ember.js app starts up.

Build Status Code Climate npm version Ember Observer Score

Installing the Add-on

  • ember install ember-load

Configuration & Use

You can customize this addon in your environment/config.js

module.exports = function(environment) {
  var ENV = {
    // optional
    'ember-load': {
      // This is the default value, if you don't set this option
      loadingIndicatorClass: 'ember-load-indicator'
    }
    ...
  }
  ...
}  

And then place some HTML in your app/index.html

<div class="ember-load-indicator">
  CAN I HAS APP NOW?
</div>

Finally, place the following in your app/templates/application.hbs

{{ember-load-remover}}

The loading indicator will be removed when your application view is inserted into the DOM

But where do I find cool little spinners?!

Anything that's purely CSS or plain JavaScript should work beautifully. You'll have the best luck with things that require no scripts or assets (i.e., images) to run in the browser.

Advanced Usage

You may also override or extend the default "load indicator removal" hook, by creating a component in your app called ember-load-remover

app/components/ember-load-remover.js
import EmberLoadRemover from 'ember-load/components/ember-load-remover';

export default EmberLoadRemover.extend({
  removeLoadingIndicator() {
    // Perform default behavior
    this._super(...arguments);
    // Do something custom in addition to it
    console.log('Just so you know, your app has loaded. 🚀');
  }
});

Compatibility

This add-on can be used with or without Ember.Views

Ember Version Range Notes
>= 1.11 Can be used with Ember.View, or using the component ({{ember-load-remover}})
2.0 - 2.4 Can be used with Ember.View (via ember-legacy-views), or using the component ({{ember-load-remover}})
>= 2.5 Must be used via component ({{ember-load-remover}}), as ember-legacy-views is not compatible with Ember 2.5

Contributing

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

More Repositories

1

chrome-github-boxcutter

A Google Chrome extension, for enhanced Github package manifests
JavaScript
459
star
2

typescript-courses

Mike North's TypeScript Courses
TypeScript
374
star
3

ember-api-actions

Trigger API actions in ember.js apps
TypeScript
332
star
4

ember-cli-materialize

Material Design (via Materialize) for Ember.js Apps
JavaScript
300
star
5

professional-ts

Mike North's Production-Grade TypeScript course
JavaScript
293
star
6

js-ts-monorepos

Mike's JS/TS Monorepos Course
TypeScript
223
star
7

awesome-learn-to-code

A list of awesome resources for learning to code
TypeScript
165
star
8

ember-material-lite

Material Design Lite for Ember.js Apps
JavaScript
147
star
9

ember-phoenix

Phoenix Framework integration and tooling for Ember.js apps
JavaScript
138
star
10

types

TypeScript
101
star
11

ember-resize

Respond to window and view resizing easily in Ember.js
TypeScript
84
star
12

ember-lodash

Lodash as ES6 Modules for Ember.js Apps
JavaScript
76
star
13

ember-perf

Measure user-percieved performance data in your ember.js app
JavaScript
73
star
14

full-stack-ts

Mike North's full-stack TypeScript Course
TypeScript
71
star
15

ember-octane-workshop

Project for Mike's live ember octane workshop
JavaScript
52
star
16

ember-intercom-io

Deep intercom.io integration for Ember.js apps
JavaScript
52
star
17

jsonapi-typescript

TypeScript type information for JSON:API documents
TypeScript
51
star
18

ember-windoc

Window and document events (scroll, resize, move, etc...) the Ember.js way
JavaScript
43
star
19

ember-pin

Scroll-triggered fixed pieces of UI, for Ember.js
JavaScript
38
star
20

ember-anchor

Support for an #anchor like construct, in ember.js apps
JavaScript
30
star
21

making-typescript-stick

https://www.typescript-training.com/course/making-typescript-stick
TypeScript
29
star
22

json-typescript

TypeScript type definitions for JSON objects
TypeScript
29
star
23

ember-composability

Composability helpers for Ember.js apps
JavaScript
28
star
24

ember-data-preload

Eagerly load deeply nested ember-data relationships
JavaScript
27
star
25

ember-add-to-homescreen

📲 "Add to Home Screen" prompt for mobile web Ember.js experiences
JavaScript
23
star
26

ember-parallax

Parallax scrolling made easy for Ember.js apps
JavaScript
23
star
27

professional-ts-my-lib

TypeScript
19
star
28

ember-materialize-shim

A simple shim for using Materialize in Ember.js apps
JavaScript
19
star
29

peepchat-ui

The UI portion of an Ember.js Fastboot / Phoenix tutorial
JavaScript
18
star
30

ember-monaco

Monaco editor for Ember.js apps
JavaScript
18
star
31

banker

Banker is an asset serving layer for single-page web apps, built with ES2015
JavaScript
18
star
32

peepchat-api

The API portion of an Ember.js Fastboot / Phoenix Framework tutorial
Elixir
17
star
33

ember-orientation

Ember.js device orientation and device motion support
JavaScript
16
star
34

mdast-builder

Build a mdast structure w/ composable functions
TypeScript
15
star
35

ember-cli-document-title-northm

JavaScript
15
star
36

js-documentation-cases

Test cases for evaluating JS/TS documentation tools
TypeScript
14
star
37

ember-sharable

Rich social sharing metadata for Ember.js apps
JavaScript
13
star
38

ember-material-design-icons-shim

Simple shim for material design icons in Ember.js apps
JavaScript
13
star
39

ember-creditcard

credit card type detection and client-side validation for Ember.js apps
JavaScript
13
star
40

MWDCON-example

One codebase to generate a web app, desktop app and mobile app, using the Ember.js ecosystem and build tools.
Objective-C
12
star
41

wge-examples

Examples from my talk at Wicked Good Ember 2015
JavaScript
12
star
42

ember-rx-shim

A simple addon for adding RxJS 5 to your Ember.js app.
JavaScript
10
star
43

joyride-rails

Build easy feature tours, thanks to ZURB's joyride plugin
JavaScript
9
star
44

ember-multi

Objective-C
8
star
45

micro-observable

RxJS6-style observables in less than 1kb
TypeScript
7
star
46

ember-qunit-snapshots

Snapshot testing for QUnit in Ember.js apps
JavaScript
7
star
47

ember-deprecated

Ember.js deprecation helpers
JavaScript
7
star
48

dotfiles

Mike North's dotfiles
Shell
6
star
49

ember-ckeditor5

📝 CKEditor 5 (Balloon build) for Ember apps
JavaScript
6
star
50

ember-pure

Pure.css integration for ember.js apps
JavaScript
6
star
51

ember-literal

Ember.literal helper for disambiguating between property keys and string literals in computed properties
JavaScript
5
star
52

ember-oembed

Client-side oEmbed support for Ember.js apps
TypeScript
5
star
53

ember-calendly

Calendly integration for Ember.js apps
JavaScript
5
star
54

foundation-icons-rails

ZURB's foundation icons for use with Rails projects
Ruby
5
star
55

qunit-metadata

Add metadata to your QUnit test suite
TypeScript
5
star
56

ember-windowscroll

JavaScript
5
star
57

typever

An opinionated versioning strategy for TypeScript ambient types
TypeScript
5
star
58

ember-twiddle-eject

Convert an ember-twiddle gist into a full ember app
JavaScript
5
star
59

advanced-ember-wge2016

Advanced Ember.js Workshop, Wicked Good Ember 2016
JavaScript
4
star
60

ember-svg

An ember.js addon for native SVG components
JavaScript
4
star
61

ember-qunit-decorators

Use ES6 or TypeScript decorators for QUnit tests in your Ember app
JavaScript
4
star
62

FEM-Ember

JavaScript
4
star
63

ember-cli-table

A table component for Ember.js
JavaScript
4
star
64

jsconfco2016-ember-workshop

Ember.js workshop for JSConf Colombia 2016
JavaScript
3
star
65

emberfest2016-stateful-ui

🔥 Emberfest 2016 - Where does your state belong
JavaScript
3
star
66

qunit-decorators

QUnit decorators for use with ES6 or TypeScript
TypeScript
3
star
67

ember-sublime

Sublime Text 3 project settings for Ember.js apps and addons
JavaScript
3
star
68

hangman

JavaScript
2
star
69

emberconf-stateful-ui

EmberConf 2016 - Building Stateful UI
JavaScript
2
star
70

ember-c3-shim

Ember-cli shim for c3.js
JavaScript
2
star
71

ember-app

TypeScript
2
star
72

ember-addons-three-ways

Ember Addons, Served Three Ways - Global Ember Meetup
JavaScript
2
star
73

2021-02-17-pro-github

Python
2
star
74

learn-git

Python
2
star
75

qunit-snapshot

Snapshot testing for QUnit
TypeScript
1
star
76

ts-ember-addon-demo

ember-cli-typescript v2 being consumed by an ember app w/ no ts support
JavaScript
1
star
77

ember-asset-size-report

Generate asset size data from the production build of your ember-cli apps
JavaScript
1
star
78

FEM-Ember-Slides

1
star
79

my-reason-react-app

OCaml
1
star
80

flavordb-ruby

A ruby client for the FlavorDB API
Ruby
1
star
81

ember-octane-course-data

1
star
82

fem-ember-commently

Commently: The next billion dollar app, and a project for Front End Masters: Advanced Ember.js
CSS
1
star
83

adopt-a-corgi-api

JavaScript
1
star
84

certin

TypeScript
1
star
85

ember-super-form-example

JavaScript
1
star
86

placehold_it_rails

Rails helper to facilitate easy image placeholders from placehold.it
Ruby
1
star
87

ambient-type-testing-examples

TypeScript
1
star
88

ember-nvd3-shim

A simple fastboot-compatible shim for nvd3 in Ember.js apps
JavaScript
1
star
89

github-actions-for-ci

JavaScript
1
star
90

shipit-bot

TypeScript
1
star
91

ember-perfchallenges

An Ember app with some performance problems
HTML
1
star