addon/components/ui-labeled-button.js

  1. import Component from '@ember/component';
  2. import layout from '../templates/components/ui-labeled-button';
  3. import uiButtonBase from '../mixins/ui-button-base';
  4.  
  5. /**
  6. ui-labeled-button component {{#crossLink "mixins.UiButtonBase"}}{{/crossLink}}
  7.  
  8. @module components
  9. @namespace components
  10. @class UiLabeledButton
  11. @constructor
  12. */
  13. export default Component.extend(uiButtonBase, {
  14. tagName: 'div',
  15. layout: layout,
  16. _theme: 'labeled',
  17. attributeBindings: ['tabindex'],
  18. tabindex: 0
  19. });
  20.