Vheissu / aurelia-for-real-world-web-applications-book-feedback

Post feedback as issues here on Github for the Aurelia book. Be as descriptive and honest as you like.
15 stars 0 forks source link

Templating->Aurelia Templating Resources->Compose clarification #12

Closed wshayes closed 8 years ago

wshayes commented 8 years ago

Templating->Aurelia Templating Resources->Compose->Passing Through Data

"You can also pass through a Javascript class filename to view-model which allows you to use lifecycle methods like activate (which gets the data as its first argument as an object) inside of your ViewModel."

Can you add an example of this? I'm a bit confused about what you are saying here.

Vheissu commented 8 years ago

Nice catch, I got a bit confused reading that myself. Will definitely clarify that.