mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Big component restructure/overhaul
This commit is contained in:
11
ember/app/components/ui/controls/loading-indicator.js
Normal file
11
ember/app/components/ui/controls/loading-indicator.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
classNames: ['loading'],
|
||||
|
||||
layout: Ember.Handlebars.compile(' '),
|
||||
|
||||
didInsertElement: function() {
|
||||
this.$().spin(this.get('size'));
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user