Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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