Rehmaanali

Rehmaanali

Founder Of Geekstrick. Full-Time Software Developer, Expertise in Frontend Development. Conversant with - Angular, React, NodeJS, and MongoDB, MySQL, Postgres,HTML+CSS+JS, CypressIO.

Create TensorFlow Image Detection In Angular 9

geekstrick on May 30, 2020 🔥 8701 views

Code And Demo In this tutorial, we will see how to Create TensorFlow Image Detection In Angular 9. Creating a small functionality like an AI – Image Detection becomes so easy by using the TensorFlow modules. TensorFlow can be used in the web application by using the JS library of the TensorFlow. For this Demonstration, […]

post

Answer for How to change the icon if the router link is active in Angular 9

geekstrick on May 30, 2020 🔥 0 views

You can use the #rla=”routerLinkActive” routerLinkActive=”active” and access the one of its properties isActive like below example: <div *ngFor="let menuItem of menuItems"> <a routerLink="{{menuItem.link}}" #rla="routerLinkActive" routerLinkActive="active"> <img [src]="rla.isActive ? menuItem.iconAtv : menuItem.icon"/> <p>{{menuItem.name}}</p> </a> </div>

discussion

Share Data Between Components In Angular 9

geekstrick on May 29, 2020 🔥 17021 views

Code And Demo In this tutorial, we will see how to Share Data Between Components In Angular 9. There are different ways to communicate between angular components but the 4 main properties are: @Input – For parent to child communication. @ViewChild – For parent to child communication. @Output – For child to parent communication using […]

post

Properties of Flex Item

geekstrick on May 27, 2020 🔥 1330 views
lesson

View Component Based on User Role In Angular 9

geekstrick on May 26, 2020 🔥 12225 views

Code And Demo In this tutorial we will see how to Display or View Component Based on User Role In Angular 9. Not just a component also it can be applied to every element of the HTML. In any application with multiple user roles, you might face a scenario to show and hide the component […]

post

Answer for How to make iframe fill the page?

geekstrick on May 24, 2020 🔥 0 views

You can set styles to body{margin:0} iframe { width: 100%; height: 100vh; } Codepen Demo Other work around can be Responsive Iframes

discussion

Best Way To Use markAllAsTouched in Angular Forms

geekstrick on May 22, 2020 🔥 11119 views

Working with the angular reactive form you must have an encounter with markAsTouched() or markAllAsTouched() of the reactive forms. In this tutorial, we will see how I came up with a small solution that how to avoid repeating markAllAsTouched on every submit. Note: For Angular version lower than 8, Refer this custom custom method to […]

post

How To Use Import and Export In JavaScript

geekstrick on May 21, 2020 🔥 3536 views

In this tutorial, we will see how to use import and export in javascript. Due to one of the best features of the ES6 is the ability to import and export the javascript module. Before the ES6 we used to import module using require() function. Export in Javascript There are two different types of export […]

post

AggregateError Combine Multiple Errors Into Single

geekstrick on May 20, 2020 🔥 3296 views

In this tutorial, we will see about the AggregateError in which we can combine the multiple errors into a single error instance. AggregateError The error is thrown when there is a possibility of multiple errors to be reported. AggregateError object takes multiple iterable Error instances and wraps them in a single error. Docs: Documentation For […]

post

Align Content

geekstrick on May 19, 2020 🔥 1131 views

The last property that can be applied to the flex container is the Align content property. The Property aligns the line of content along with the cross axis this is sort of a mix of justify-content and align-items. It distributes additional space but along the cross axis. Note: Before we start the container must contain […]

lesson
1 7 8 9 10 11 20