February 2017
Beginner to intermediate
294 pages
6h 9m
English
In this chapter, we are going to take the Collector component to the next level and add some business logic to it. As we saw earlier in the preceding chapter, components are simple TypeScript classes with properties and methods. Each component has a view and can communicate with that view in any directions:
The properties in a component class are basically data holders for a view and the methods implement what views intend to do (the behavior of the view). These methods are mostly triggered by the template events. However, there are scenarios where a story happens outside of the component/template ...
Read now
Unlock full access