addon/components/ui-left-labeled-button.js

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