0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client/app/components/gh-autonav-toggle.js

14 lines
243 B
JavaScript
Raw Normal View History

2015-05-24 00:47:23 -05:00
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['gh-autonav-toggle'],
maximise: false,
click: function () {
this.toggleProperty('maximise');
this.sendAction('onClick');
}
});