class CodeSignalContextTOwner extends SignalContextPossibleCodeScopeCodeScopeTOwnerimplements CodeSignalHelpersTOwner
Type Parameters
Constructors
constructor
public override new CodeSignalContextTOwnerinitial: SignalValuePossibleCodeScopeowner: TOwnerhighlighter?: SignalValuenullCodeHighlighterunknown: CodeSignalContextTOwner
Type Parameters
Parameters
initial: SignalValuePossibleCodeScopeowner: TOwnerhighlighter?: SignalValuenullCodeHighlighterunknown
SignalContext<PossibleCodeScope, CodeScope, TOwner>.constructorMethods
append
public appendcode: CodeTagduration: number: ThreadGenerator
public appendduration?: number: TagGenerator
Parameters
code: CodeTag
dispose
public dispose(): void
SignalContext.disposeedit
public editduration: number = 0.6: TagGenerator
Parameters
duration: number = 0.6
get
public get(): CodeScope
SignalContext.getgetInitial
public getInitial(): undefinedSignalValuePossibleCodeScope
Get the initial value of this signal.
Inherited fromSignalContext.getInitialgetter
public getter(): CodeScope
SignalContext.getterinsert
public insertpoint: CodePointcode: CodeTagduration: number: ThreadGenerator
Parameters
isInitial
public isInitial(): boolean
Check if the signal is currently using its initial value.
Examples
Inherited fromSignalContext.isInitialisTweening
public isTweening(): boolean
Is the signal undergoing a tween?
Inherited fromSignalContext.isTweeningparse
Parameters
value: PossibleCodeScope
SignalContext.parseprepend
public prependcode: CodeTagduration: number: ThreadGenerator
public prependduration?: number: TagGenerator
Parameters
code: CodeTag
raw
public raw(): undefinedSignalValuePossibleCodeScope
Get the raw value of this signal.
If the signal was provided with a factory function, the function itself will be returned, without invoking it.
This method can be used to create copies of signals.
Examples
Inherited fromSignalContext.rawremove
public removerange: CodeRangeduration: number: ThreadGenerator
Parameters
range: CodeRange