Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Use Angular Component as Element, Attribute, and Class

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

Components are building blocks of any Angular application. Most commonly Angular components exist as custom markup elements in the template. However, not the only way to use components. You can also use them as if they are an attribute of an HTML element. Or you can also use them as the value of css attribute on HTML elements. Using Angular selectors you can decide how a component will be used in the template markup. To that end this article illustrates each type of usage with a simple example.

Read More...




Sponsored Links




Read Next: Using the Java Collections Disjoint Method



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe