TimedComponent
TimedComponent
Overview needed
Constructor
public TimedComponent
new TimedComponent(initialDelay, inputPortCount, outputPortCount, size, inputPositioner, outputPositioner, initialProps)
*Description needed*Parameters
initialDelay: number
– Description neededinputPortCount: ClampedValue
– Description neededoutputPortCount: ClampedValue
– Description neededsize: Vector
– Description neededinputPositioner: Positioner<InputPort>
– Description neededoutputPositioner: Positioner<OutputPort>
– Description neededinitialProps: Record
– Description needed
Properties
No publicly accessible properties on TimedComponent
private timeout: number
Description needed
Methods
protected onTick
onTick() => void
Description needed
public setProp
setProp(key, val) => void
Description needed
Parameters
key: string
– Description neededval: any
– Description needed
public getPropInfo
getPropInfo(key) => BasePropInfo & { type: "boolean"; } | BasePropInfo & { type: "button"; getText: (states: any[]) => string; getNewState: (states: any[]) => any; } | BasePropInfo & UnitInfo | BasePropInfo & { type: "string"; constraint?: RegExp; } | BasePropInfo & { type: "color"; } | BasePropInfo & { type: "string[]"; options: [string, string][]; } | BasePropInfo & { type: "number[]"; options: [string, number][]; } | BasePropInfo & { type: "veci" | "vecf"; min?: Vector; max?: Vector; step?: Vector; }
Description needed
Parameters
-
key: string
– Description needed
Returns
-
BasePropInfo & { type: "boolean"; } | BasePropInfo & { type: "button"; getText: (states: any[]) => string; getNewState: (states: any[]) => any; } | BasePropInfo & UnitInfo | BasePropInfo & { type: "string"; constraint?: RegExp; } | BasePropInfo & { type: "color"; } | BasePropInfo & { type: "string[]"; options: [string, string][]; } | BasePropInfo & { type: "number[]"; options: [string, number][]; } | BasePropInfo & { type: "veci" | "vecf"; min?: Vector; max?: Vector; step?: Vector; }
– Description needed
Static Methods
No static methods for TimedComponent