Posts

refreshing data without page refresh in Angular 7

Refreshdata() { this.datarefresher=SetInterval(() =>{ },30000); }

new row create using array in Angular 7

Create html button  Call click event  Create on two array  Example  Rack:any newAttribute:any={}; <button class="add" (click)="Addnewrow()">Add</button> Function- Addnewrow(){ this.rack.push(this.newAttribute) this.NewAttribute={}; }

how to call update api using Angular4

Click on delete button  Check id is fetch are not in delete button click  Add console.Log( variable name) After that call service  Check status record delete are not  I will explain step step next blog post thank you 

swal alert message Box using Angular 7

Swal({ Title:"ARE you sure?" text: "you want to logout " Type: "warning", ShowCancelButton:true, Focusconfirm:false, }) .then((willDelete) =>{ if(WillDelete.value) { this.authservice.logout(); this.router.navigate(['/logout']); } });

Two way Binding syntax In Angular

Component.html Double curly braces are used two way Binding in Angular 7 {{......}} Eg- <table> <tr> <td>{{SUDAM}}</td> </tr>

Popular posts from this blog

String Program in C#

Api

Oracle database