@ng-web-apis/common
v4.11.1
Published
A set of common utils for consuming Web APIs with Angular
Downloads
191,424
Readme
Common utils for Web APIs
A set of common utils for consuming Web APIs with Angular
Tokens
WINDOW
— provides access to globalwindow
objectNAVIGATOR
— provides access towindow.navigator
objectNETWORK_INFORMATION
— provides access towindow.navigator.connection
objectUSER_AGENT
— provides access towindow.navigator.userAgent
stringMEDIA_DEVICES
— provides access towindow.navigator.mediaDevices
objectPERFORMANCE
— provides access towindow.performance
objectANIMATION_FRAME
— sharedObservable
based onwindow.requestAnimationFrame
CACHES
— provides access towindow.caches
objectCSS
— provides access towindow.CSS
object or mock object if it's not available (i.e. in IE)CRYPTO
— provides access towindow.crypto
objectLOCATION
— provides access towindow.location
objectLOCAL_STORAGE
— provides access towindow.localStorage
objectSCREEN
— provides access towindow.screen
objectSESSION_STORAGE
— provides access towindow.sessionStorage
objectSPEECH_RECOGNITION
— provides access toSpeechRecognition
class or returnsnull
if browser does not support itSPEECH_SYNTHESIS
— provides access towindow.speechSynthesis
objectPAGE_VISIBILITY
— wrapper fordocument.addEventListener('visibilityChange')
apiHISTORY
— provides access towindow.history
object