Skip to content

Instantly share code, notes, and snippets.

@JackieChiles
Created July 23, 2018 13:53
Show Gist options
  • Save JackieChiles/b95e774191661d4e83ea77af3d8228ad to your computer and use it in GitHub Desktop.
Save JackieChiles/b95e774191661d4e83ea77af3d8228ad to your computer and use it in GitHub Desktop.
Component Class Parameter
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['my-component']
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
{{my-component class="parameter-class"}}
{
"version": "0.15.0",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js",
"ember": "2.14.1",
"ember-template-compiler": "2.14.1",
"ember-testing": "2.14.1"
},
"addons": {
"ember-data": "3.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment