Directives

We walked through the Angular component and the way it is decorated. The @Component itself is a directive with a template configured in the metadata. So, a directive is a component without a template, and @directive is used in Typescript to attach metadata to it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset