Skip to content
Dead simple toggle helper
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon add pojo support. closes #3 Feb 10, 2016
app Initial implementation Feb 10, 2016
config Initial implementation Feb 10, 2016
tests
vendor Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.bowerrc Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.editorconfig Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.ember-cli Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.gitignore
.jshintrc Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.npmignore Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
.travis.yml Initial implementation Feb 10, 2016
.watchmanconfig Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
LICENSE.md Initial implementation Feb 10, 2016
README.md
bower.json Initial implementation Feb 10, 2016
ember-cli-build.js Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
index.js Initial Commit from Ember CLI v1.13.15 Feb 10, 2016
package.json Released v0.1.1 Feb 10, 2016
testem.json Initial implementation Feb 10, 2016

README.md

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/.

You can’t perform that action at this time.