Specify Interaction and Animation
These operations specify event-driven interactions and optional animation effects.
msc.activate(tg, responder, responderEval, responderUpdate, animation)
Registers an interaction trigger and connects it to a responder component.
tg(Object): containstarget,event, and an optionalcumulativeflagresponder(Object): containscomponentand eitherpropertiesorchannelsresponderEval(Function, optional): evaluates whether the responder update should be appliedresponderUpdate(Function or Array): applies the interaction effect to the responder componentanimation(Object or Array, optional): animation settings paired with the responder update function or functions- Return type:
Trigger