| orion.core.favorite | ||
|---|---|---|
|
|
|
| Core client services | orion.core.file | |
The orion.core.favorite service is used to access and store the user's bookmarks or favorites. While a user may opt to use their own browser's bookmark mechanism instead, there are some specific advantages to using Orion's favorite service instead:
Here is an example usage of the favorites service:
serviceRegistry.getService("orion.core.favorite").then(function(service) {
service.makeFavorites(item);
});
See orion.favorites.FavoritesService in the Orion client API reference for a complete list of functions available on the favorite service.
|
|
|
| Core client services | orion.core.file |