Here's a quick CodePen showing how to control a Haiku component's timeline from the host codebase (in this case, a click event.)

https://codepen.io/zackbrown/pen/KrPYjK?&editors=1010

If you're using React, you can get a reference to that component object like so:

<MyHaikuReactComponent
  onHaikuComponentDidMount={(haikuComponent: HaikuComponent) => {

  }}
/>
Did this answer your question?