“Live” Coding a Custom Directive in Ionic 2

2 min read

Originally published March 10, 2017

Check out my advanced Ionic tutorials at eliteionic.com

I'm trying something a little bit different with this video. Most of the videos I create aren't scripted, but I do have a general plan of attack before recording and, more or less, know what I am going to say and do.

I've created multiple custom components and directives in the past, and have done tutorials for a lot of those. I think those tutorials may give off the impression that somehow I just know right out of the gate how to go about implementing these – sometimes quite complex – components.

In reality, I often spend quite a lot of time trying different approaches and failing a lot when attempting to figure out how to build something. So, in this video, I wanted to provide a mostly unedited video of me attempting to build a new custom directive with nothing but a vague idea of what I want the directive to do. I say "mostly" unedited because I have still made some edits to remove long pauses and so on, but I have left all of the mistakes along the way in.

Here's the video: