How to use the ember-flexberry/components/flexberry-button.extend function in ember-flexberry

To help you get started, we’ve selected a few ember-flexberry examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flexberry / ember-flexberry-designer / addon / components / fd-round-button.js View on Github external
import FlexberryButtonComponent from 'ember-flexberry/components/flexberry-button';
import layout from '../templates/components/fd-round-button';
import { isNone } from '@ember/utils';

export default FlexberryButtonComponent.extend({
  layout,

  tagName: 'div',

  iconClass: 'icon-fd-plus-thin',

  classNames: ['fd-round-button'],

  colorClass: ' ',

  /**
    Components class names bindings.
    @property classNameBindings
    @type String[]
  */
  classNameBindings: ['colorClass'],
github Flexberry / ember-flexberry-designer / addon / components / fd-button.js View on Github external
import FlexberryButtonComponent from 'ember-flexberry/components/flexberry-button';
import layout from '../templates/components/fd-button';

export default FlexberryButtonComponent.extend({
  layout,

  tagName: 'button',

  iconClass: 'icon-fd-plus-thin',

  classNames: ['basic circular'],

  buttonType: 'button',

  attributeBindings: ['buttonType:type']
});