mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['loading-indicator'],
|
|
|
|
layout: Ember.Handlebars.compile(' '),
|
|
size: 'small',
|
|
|
|
didInsertElement: function() {
|
|
var size = this.get('size');
|
|
Ember.$.fn.spin.presets[size].zIndex = 'auto';
|
|
this.$().spin(size);
|
|
}
|
|
});
|