addon/mixins/ui-label-base.js

  1. import Mixin from '@ember/object/mixin';
  2.  
  3. /**
  4. ui-label-base mixin
  5.  
  6. @module mixins
  7. @namespace mixins
  8. @class UiLabelBase
  9. @constructor
  10. */
  11. export default Mixin.create({
  12. tagName: 'div',
  13. classNameBindings: ['_uiClass', '_theme', 'class', 'theme', '_componentClass'],
  14. _uiClass: 'ui',
  15. _componentClass:'label',
  16. _theme: '',
  17. /**
  18. * label class
  19. *
  20. * @property {String} class
  21. * @default ''
  22. */
  23. class: '',
  24. /**
  25. * lable theme
  26. *
  27. * @property {String} theme
  28. * @default ''
  29. */
  30. theme: ''
  31. });
  32.