Sha256: 8df6f6115d942c55ea8a981561474562c3086bb49c4358559d4d64da24a394de

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

import Ember from 'ember';
import layout from '../templates/components/bsy-modal';

export default Ember.Component.extend({
  layout,
  tagName: "div",

  didRender() {
    this._super(...arguments);
    Ember.$('body').addClass('modal-open');
  },

  willDestroyElement() {
    this._super(...arguments);
    Ember.$('body').removeClass('modal-open');
  }
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-1.0.5 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.4 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.3 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.2 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.1 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.0 addon/components/bsy-modal.js
bootstrap-bookingsync-sass-1.0.0.beta12 addon/components/bsy-modal.js