addon/components/ui-modal-content.js

  1. import layout from '../templates/components/ui-modal-content';
  2. import Component from '@ember/component';
  3.  
  4. /**
  5. ui-modal-content component
  6.  
  7. @module components
  8. @namespace components
  9. @class UiModalContent
  10. @constructor
  11. */
  12. export default Component.extend({
  13. layout: layout,
  14. tagName: 'div',
  15. classNameBindings: ['theme', '_componentClass'],
  16. /**
  17. * Class name to apply to the modal-content
  18. *
  19. * @property {String} theme
  20. */
  21. theme: '',
  22. /**
  23. * Class name to apply to modal-content
  24. *
  25. * @property {String} class
  26. */
  27. class: '',
  28. _componentClass:'content'
  29. });
  30.