import {...} from "";
General utilities and helper functions.
Classes
Interfaces
Type Aliases
ReferenceArray
type ReferenceArrayT = T[]ReferenceT
Type Parameters
ReferenceMap
Type Parameters
RefsProperty
type RefsPropertyTValue = TValue extends config: refs?: infer TReference => void ? TReference : never
Type Parameters
Variables
DEG2RAD
const DEG2RAD: number = ...
A constant for converting degrees to radians
Examples
RAD2DEG
const RAD2DEG: number = ...
A constant for converting radians to degrees
Examples
Functions
beginSlide
public beginSlidename: string: ThreadGenerator
Parameters
name: string
capitalize
Type Parameters
T extends string
Parameters
value: T
createRef
public createRefT(): ReferenceT
Type Parameters
createRefArray
public createRefArrayT(): ReferenceArrayT
Create an array of references.
The returned object is both an array and a reference that can be passed
directly to the ref property of a node.
Examples
Type Parameters
createRefMap
public createRefMapT(): ReferenceMapT
Create a group of references.
The returned object lets you easily create multiple references to the same type without initializing them individually.
You can retrieve references by accessing the object's properties. If the reference for a given property does not exist, it will be created automatically.
Examples
Type Parameters
debug
public debugpayload: any: void
Logs a debug message with an arbitrary payload.
This method is a shortcut for calling useLogger().debug() which allows
you to more easily log non-string values as well.
Examples
Parameters
payload: anyThe payload to log
deprecate
Mark the given function as deprecated.
Type Parameters
Parameters
fn: ...args: TArgs => TReturnThe function to deprecate.
message: stringThe log message.
remarks?: stringThe optional log remarks.