In this guide we will cover two main cases:
- Ember specific library
- vendor library
The Ember library will assume that Ember has already ben loaded (higher in the loading order) and thus will assume it has access to the Ember API.
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| didInitAttrs(options) { | |
| console.log('didInitAttrs', options); | |
| }, | |
| didUpdateAttrs(options) { | |
| console.log('didUpdateAttrs', options); | |
| }, |