Add Custom Lightbox in angular 2 using typescript

Hello All,

Please help me to create custom light box in angular 2 with typescript frame work.
Following document snippet not work for me it give error to me to find form data.


Hello Kaushik,
You need to declare some variables with the special, typescript parameters. For example:

var form: any = document.getElementById("input_field"); var form = document.getElementById(id) as HTMLInputElement;

Here is the demo: … aIkNWpD8rx
Unpack it somewhere and run:

npm install


sudo npm install

then run:

ng serve

You will be able to create tasks, rename and delete them and cancel opening the lightbox.
angular+lightbox[overlay].7z (66.5 KB)