Angular 12 - Building Custom Controls using Control Value Accessors

Publié le: 24 septembre 2021
sur la chaîne: Lyrad Digital
4,159
49

In this video I show you how to create your very own custom control in Angular 12, by converting a slider toggle component from a regular component to a form control using Control Value Accessors.

I speak about how to implement a NG_VALUE_ACCESSOR provider, as well as how to implement the ControlValueAccessor interface.

This code is available on my Github account. https://github.com/lyraddigital/contr...


There are 2 branches in this repository:-

Main - Contains the end result of this video.
Intro - Contains the code for the application at the start of the video

So if you wish to follow along with this video, make sure you checkout the Intro branch.


This is just one of many Angular 12 tutorials that I will be uploading to my channel. And this is my first video in a while around Reactive Forms


Sur cette page du site, vous pouvez voir la vidéo en ligne Angular 12 - Building Custom Controls using Control Value Accessors durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Lyrad Digital 24 septembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,159 fois et il a aimé 49 téléspectateurs. Bon visionnage!