好吧,我在這裏,我的問題兩個用例: 我的工作具有/en/register路線的應用程序。它所有的工作很好,當我在根和我點擊一個按鈕,做this.router.navigate([this.routeParams.lang, 'register']);,這一切都很好,這開啓了在構造一個模態(或ngOnInit,反正)與($('#modalRegister') as any).modal('show'
有關更好的介紹,請參閱blog post about outlets。 我使用TabView瀏覽通過使用nativescript(ProtectedComponent)編寫的我的移動應用程序。 <TabView
#tabView
tabsBackgroundColor="#f57c00" selectedTabTextColor="#B23010"
[(ngModel