utilsClass
Provides useful utility functions.
Inheritance hierarchy
nokia.mh5.utils does not extend any public class, nor is it extended by any other public class.Methods
![]() |
escapeHTML | Escapes HTML tags from input. |
![]() |
formatDistance | Formats distance given in meters according to provided unit system. |
![]() |
formatString | Replaces a parameter in a string with a value from an identically named object key. |
![]() |
formatTime | Formats time given in seconds into proper representation in minutes or hours. |
![]() |
getLocalStorageValue | Returns a value from local storage based on given key. |
![]() |
purify | Returns an object that can be serialized (e.g. JSON.stringify). Currently only removes bindings if present. The original object is NOT modified. If passed a primitive value it will be returned. |
![]() |
setLocalStorageValue | Stores a value under a given key in local storage. |
Properties
nokia.mh5.utils has no properties.
Events
nokia.mh5.utils has no events.
Callbacks
nokia.mh5.utils has no callbacks.
Classes
![]() |
nokia.mh5.utils.place | Provides utility functions for places |
Constants
nokia.mh5.utils has no constants.
Interfaces
nokia.mh5.utils has no interfaces.
