mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 00:43:39 +08:00
15 lines
269 B
JavaScript
15 lines
269 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
export default Ember.Component.extend({
|
||
|
|
||
|
tagName: 'header',
|
||
|
classNames: ['hero', 'welcome-hero'],
|
||
|
|
||
|
didInsertElement: function() {
|
||
|
var hero = this.$();
|
||
|
hero.find('.close').click(function() {
|
||
|
hero.slideUp();
|
||
|
});
|
||
|
}
|
||
|
|
||
|
});
|