How to use the ember-toggle/components/x-toggle/component.extend function in ember-toggle

To help you get started, we’ve selected a few ember-toggle 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 adiwg / mdEditor / app / pods / components / input / md-toggle / component.js View on Github external
/**
 * @module mdeditor
 * @submodule components-input
 */

import Toggle from 'ember-toggle/components/x-toggle/component';

export default Toggle.extend({
  /**
  * Custom toggle switch for boolean input
  *
  * @class md-toggle
  * @constructor
  * @extends ember-toggle/components/x-toggle
  */

 /**
  * Bound classes:
  *  - value
  *    - __true__: toggle-on
  *    - __false__: toggle-off
  *
  * @property classNameBindings
  * @type {Array}

ember-toggle

Checkbox based toggle switch component for Ember.js

MIT
Latest version published 3 years ago

Package Health Score

57 / 100
Full package analysis