Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
<h1>Welcome to {{appName}}</h1>
{{#my-component as |c wrapped|}}
direct: {{c}}
component helper {{component c}}
dot rule: {{wrapped.c}}
Called as prop: {{calling-component c=c}}
Called as prop with this.: {{calling-component-with-this c=c}}
{{yield (component 'my-closure-component') (hash c=(component 'my-closure-component'))}}
"version": "0.13.1",
"EmberENV": {
"options": {
"use_pods": false,
"enable-testing": false
"dependencies": {
"jquery": "",
"ember": "2.15.3",
"ember-template-compiler": "2.15.3",
"ember-testing": "2.15.3"
"addons": {
"ember-data": "2.15.3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment