Skip to content

Instantly share code, notes, and snippets.

@hvgotcodes
Last active August 16, 2016 16:11
Show Gist options
  • Save hvgotcodes/e4680b574504af033085ba73f030a8b1 to your computer and use it in GitHub Desktop.
Save hvgotcodes/e4680b574504af033085ba73f030a8b1 to your computer and use it in GitHub Desktop.
In component Chainer
Ember.extend.... {
first(){},
second(){},
actions: {
chain(){
this.first();
this.second();
}
}
}
In template
{{chainer
first="first"
second="second'
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment