GeekArticles
Microsoft
Microsoft.NET


Use Angular Component as Element, Attribute, and Class
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.
Sponsored Links
Read Next: Using the Java Collections Disjoint Method
Related Topics
Subscribe via RSS
Microsoft.NET
- Chapter 2: Protecting Your Database with Startup Options
- { End Bracket }: Hacking the Immune System
- C++ At Work: Copy Constructors, Assignment Operators, and More
- .NET Matters: Stream Decorator, Single-Instance Apps
- Security Briefs: Credentials and Delegation
- Design Patterns: Dependency Injection
- Test Run: Low-Level UI Test Automation
- Advanced Basics: Revisiting Operator Overloading
- Cutting Edge: ASP.NET Forms
- Web Q&A: Smart Navigation, ASP.NET Project Structure, and More