User Tools

Site Tools


newdevs:angular_making_calls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
newdevs:angular_making_calls [2024/03/28 23:08] – [Deleting data in the database] add examples sandbergjanewdevs:angular_making_calls [2024/03/28 23:16] (current) – [NetService example] sandbergja
Line 159: Line 159:
 ==== NetService example ==== ==== NetService example ====
  
-coming soon+Here is an example of refreshing the contents of an automatically-generated carousel (the one with ID 201): 
 + 
 +    this.net.request('open-ils.actor', 
 +                  'open-ils.actor.carousel.refresh', 
 +                  this.auth.token(), 
 +                  201).subscribe(() => { 
 +        alert('I feel so refreshed now!'); 
 +    });
 ===== Deleting data in the database ===== ===== Deleting data in the database =====
  
newdevs/angular_making_calls.txt · Last modified: 2024/03/28 23:16 by sandbergja

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.