For a list of all members of this type, see LTHelper members
Public Methods
Name | Description | |
---|---|---|
addClass | Adds the specified class string to the HTML or SVG element's current class list. | |
base64Decode | Decodes a Base 64 encoded string and returns the result as a byte array. | |
base64DecodeToArrayBuffer | Decodes a Base 64 encoded string and returns the result as an array buffer. | |
base64DecodeToByteArray | Decodes a Base 64 encoded string and returns the result as a byte array. | |
base64Encode | Encodes a byte array as Base 64 and returns the result. | |
base64EncodeFromArrayBuffer | Encodes an array buffer as Base 64 and returns the result. | |
cancelAnimationFrame | Cancels an animation frame, with a fallback for older browsers. | |
ensureUsableCanvas | Helper method to ensure that a canvas of a given size is usable. | |
hasClass | Checks an HTML or SVG element for the given class string. | |
loadJS | Helper method to dynamically load a JS file and add it to the script section of the current document. | |
log | Logs messages to the console without causing errors on older browsers. |
|
logError | Logs errors to the console without causing errors on older browsers. |
|
logWarning | Logs warnings to the console without causing errors on older browsers. |
|
newGuid | Creates a new GUID. | |
removeClass | Removes the specified class string from the HTML or SVG element's current class list. | |
removeJS | Helper method to dynamically remove a JS file previously loaded from the script section of the current document. | |
requestAnimationFrame | Requests an animation frame, with a fallback for older browsers. |
See Also