filmov
tv
Angular Complete Series | Custom Structural Directive | Part 17 | Angular11+
Показать описание
In angular, we have a couple already defined structural and attribute directives that can be used when required. Similar to attribute directives we can also define custom structural directives.
Angular structural directives are responsible for adding or removing an element along with its child from DOM based on expressions evaluated value on contrary to structural directives attribute directives either changes the appearance or behavior of the element using attribute directive.
In angular structural directives provides the flexibility of extending HTML behavior adding removing elements on the go with a directive wrapped logic.
This structural directive logic can be re-used on different elements by adding a simple attribute of the structural directive selector.
#custom #strutual #directive #angular
Follow us on Twitter:
Follow us on Facebook:
Official Web Link:
Angular structural directives are responsible for adding or removing an element along with its child from DOM based on expressions evaluated value on contrary to structural directives attribute directives either changes the appearance or behavior of the element using attribute directive.
In angular structural directives provides the flexibility of extending HTML behavior adding removing elements on the go with a directive wrapped logic.
This structural directive logic can be re-used on different elements by adding a simple attribute of the structural directive selector.
#custom #strutual #directive #angular
Follow us on Twitter:
Follow us on Facebook:
Official Web Link: