framework/ember/app/components/ui/controls/loading-indicator.js

13 lines
241 B
JavaScript
Raw Normal View History

2014-12-20 14:26:46 +08:00
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['loading-indicator'],
2014-12-20 14:26:46 +08:00
layout: Ember.Handlebars.compile(' '),
size: 'small',
2014-12-20 14:26:46 +08:00
didInsertElement: function() {
this.$().spin(this.get('size'));
}
});