How to simulate a double click event (with a single click )
we can easily simulate a double click with a single click by handling the click events and implementing a logic…
Design – Plan – Write
we can easily simulate a double click with a single click by handling the click events and implementing a logic…
creating and use validators to report errors when the input value (entered by user) is not in a defined list,…
Building applications/websites using Angular has a downside – the bundle size. This directly affects the loading speed and user experience of our projects.…
Angular interceptors are middleware-like services that can be used to intercept and modify HTTP requests and responses globally within our…
To update a globally installed Angular package, we can use the npm command line tool. // let's update the angular…
Let us assume, we have a custom Angular component that acts as a form control and we want to subscribe…
Let us assume, we have a custom Angular component that acts as a form control and we want to enable…
Last month marked the 13th anniversary of Angular’s red shield. AngularJS was the starting point for a new wave of…
To configure the Router, we pass the with* feature provider factories to the provideRouter function. The first argument passed must be Routes while subsequent arguments are 0..n…
To lazy load a component, let us add a loadComponent property to a Route object. The value is a function that returns a dynamic import statement…