Ionic/Angular page not update

I use Ionic 5 and angular .My page bind to an object((Person)).when I select data from websql my object is update but page is not update until I click menu or other control //this code is in my component in the click button //jsonData initial jsonData[“SelectFunctionInSuccess”] = (result)=>{ this.Person.Id = result[0].Id; this.Person.Code = result[0].Code; this.Person.Name […]

By Hasan
Published
Categorized as angular, ionic-framework, web-sql Tagged , ,

How to differentiate between parameter and path on the root in angular 8

RouterModule.forRoot([ { path: ”, component: HomeComponent, pathMatch: ‘full’, path: ‘counter’, component: CounterComponent, path: ‘:id’, component: HostComponent, path: ‘login’, component: LoginComponent }, ]) I want to show username on root like http://localhost:56614/xyz When i call http://localhost:56614/login then it show page of HostComponent, as it take login as parameter, i understand that moving :id down will work, […]

By Hasan
Published
Categorized as angular Tagged

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq