Custom Dialog in NativeScript | Tutorial

preview_player
Показать описание
In this NativeScript tutorial, I show you how to create your own custom dialog without being tied to the dialogs that come with NativeScript - be as creative as you like!

► SHARE
Share this video with a friend to help them with their native JavaScript apps:
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:

► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.

►LET'S CONNECT

► FREE + PREMIUM NATIVESCRIPT COURSES - take your NativeScript development skills to the next level
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
Рекомендации по теме
Комментарии
Автор

You don't need to move the 'vm' object into the pages global scope. Your 'showDialog' function will receive the 'EventData' object (i.e. args). With this you can get the 'page', and in turn its 'bindingContext'.

paralellosll
Автор

Hi teach,

I builded a page that when i click open a modaview with a list of people - ok
I select the person and it will return a code selected- ok

Error:
if i click another time in the button to open my modal again with list of people, doesn't work! the list doesn't load.

On the log: The first time pass into the constructor, ngOnInit ....
the second time only pass on constructor, not more on the ngOninit.. why? please help me

ricardofagmer_
welcome to shbcf.ru