0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/app/components/gh-content-view-container.js
2016-01-19 07:03:27 -06:00

15 lines
310 B
JavaScript

import Ember from 'ember';
const {
Component,
computed,
inject: {service}
} = Ember;
export default Component.extend({
tagName: 'section',
classNames: ['gh-view', 'content-view-container'],
mediaQueries: service(),
previewIsHidden: computed.reads('mediaQueries.maxWidth900')
});