2018年1月24日
30秒学会 Angular 片段 – Bind to host properties with host binding
Every rendered angular component is wrapped in a host element (which is the same as component’...
Every rendered angular component is wrapped in a host element (which is the same as component’...
If you’re using ViewEncapsulation value which is different than default, it might be daunting ...
EventEmitters used for @Output‘s are just Observables with an emit method. This means that you...
With ng-content you can pass any elements to a component. This simplifies creating reusable componen...
Generally we get one service instance per the whole application. It is also possible to create an in...