Skip to content

Instantly share code, notes, and snippets.

@lukesargeant
Created March 20, 2018 06:34
Show Gist options
  • Save lukesargeant/1a398cf40653818e51dc368e9eefb387 to your computer and use it in GitHub Desktop.
Save lukesargeant/1a398cf40653818e51dc368e9eefb387 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
<nav>
{{#animated-beacon group="spaces-menu"}}
<button>Menu</button>
{{/animated-beacon}}
{{#each model.spaces as |space|}}
{{#animated-if navCollapsed group="spaces-menu" use=transition duration=20000}}
<button>{{space.name}}</button>
{{/animated-if}}
{{/each}}
</nav>
{
"version": "0.13.0",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.16.2",
"ember-template-compiler": "2.16.2",
"ember-testing": "2.16.2"
},
"addons": {
"ember-data": "2.16.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment