All Projects → poteto → ember-toggle-helper

poteto / ember-toggle-helper

Licence: MIT license
Dead simple toggle helper

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

ember-toggle-helper Build Status npm version

This addon has been deprecated and is no longer maintained

The toggle helper has been merged into ember-composable-helpers, please use that instead. You can specify to only import the toggle helper if you wish.


Dead simple toggle helper.

ember install ember-toggle-helper

Usage

Use the toggle helper as an action.

<button {{action (toggle this "isExpanded")}}>
  {{if isExpanded "I am expanded" "I am not"}}
</button>

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].