June 2018
Intermediate to advanced
348 pages
8h 19m
English
All you need is the @autoinject annotation. The JS/HTML mapping is performed automatically by the framework:
class Ticket { /* class code, properties, methods... */ } @inject export class Sale { constructor( ticket ) {} public activate() { // do something... this.ticket.toast("Sale processed!"); } }
Read now
Unlock full access