Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page is a work in progress.

PrefsService - Preferences Service

PrefsService is an Angular Factory in the Util module with the name prefs.js. It provides an API to manage preferences using the $cookies service. To use these functions, see the documentation on injecting Angular services.

NameSummary
getPrefsGets a cookie with a specific name's value.
asNumbersConverts string values to numbers for all or selected keys.
setPrefsSets the cookie preferences as a string into the cache.

Function Descriptions

getPrefs

asNumbers

setPrefs

 

 

 

 

 

  • No labels