Skip to content
  • Home
  • JavaScript
  • HTML/CSS
  • Angular
Jscurious.com Logo

JS Curious

Web Development Blog

Angular

HostBinding and HostListener in Angular

On July 25, 2020October 19, 2021 by Amitav Mishra
@HostBinding decorator used to access and set any property of actual DOM element from directive and
Continue Reading
Posted in AngularLeave a Comment on HostBinding and HostListener in Angular

Custom Directive in Angular

On July 22, 2020October 23, 2021 by Amitav Mishra
For creating a custom directive, we can use the angular CLI command i.e. ng g d directive-name or
Continue Reading
Posted in AngularLeave a Comment on Custom Directive in Angular

NgStyle vs Style Binding in Angular

On July 21, 2020October 2, 2021 by Amitav Mishra
Using style binding we can add single CSS style dynamically to HTML element whereas with ngStyle we
Continue Reading
Posted in AngularLeave a Comment on NgStyle vs Style Binding in Angular

NgClass vs Class Binding in Angular

On July 21, 2020October 2, 2021 by Amitav Mishra
To add or remove a CSS class dynamically from an element we can make use of class binding whereas
Continue Reading
Posted in Angular

The *ngFor Directive in Angular

On July 19, 2020October 23, 2021 by Amitav Mishra
The *ngFor is a structural directive in Angular. The asterisk(*) present in *ngFor represents that
Continue Reading
Posted in AngularLeave a Comment on The *ngFor Directive in Angular

Types of Directives in Angular

On July 19, 2020October 23, 2021 by Amitav Mishra
Directives in Angular are used to change the appearance, behavior, or layout of the DOM. The
Continue Reading
Posted in AngularLeave a Comment on Types of Directives in Angular

Data Binding in Angular

On July 15, 2020October 23, 2021 by Amitav Mishra
Data binding is a concept of communication between the component and view. We can bind the data
Continue Reading
Posted in AngularLeave a Comment on Data Binding in Angular

Difference between constructor and ngOnI …

On July 15, 2020October 23, 2021 by Amitav Mishra
The constructor is a default Typescript class method whereas ngOnInit is a lifecycle hook in
Continue Reading
Posted in AngularLeave a Comment on Difference between constructor and ngOnI …




Recent Posts

  • How to create custom events in JavaScrip …
  • The new dialog element in HTML to create …
  • How to add currency symbol and formattin …
  • JavaScript Object.is() method to check e …
  • The CSS :is() and :where() pseudo-classe …




© Copyright 2022. JSCurious.com
Privacy Policy Contact Us