import { extend } from '../../shared/utils';
import Notification from './notification-class';
import ModalMethods from '../../shared/modal-methods';
export default {
  name: 'notification',
  static: {
    Notification: Notification
  },
  create: function create() {
    var app = this;
    app.notification = extend({}, ModalMethods({
      app: app,
      constructor: Notification,
      defaultSelector: '.notification.modal-in'
    }));
  },
  params: {
    notification: {
      icon: null,
      title: null,
      titleRightText: null,
      subtitle: null,
      text: null,
      closeButton: false,
      closeTimeout: null,
      closeOnClick: false,
      swipeToClose: true,
      cssClass: null,
      render: null
    }
  }
};