addon/components/ui-animated-button.js

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