How to manipulate the ticker?

92 views
Skip to first unread message

U ji

unread,
Feb 14, 2025, 10:28:37 AM2/14/25
to desmos-api-discuss
Is there any way to manipulate the ticker?
code.png
This code works, but it re-renders the entire graph. I want to simulate clicking the ticker button.

Thanks.

U ji

unread,
Mar 18, 2025, 5:17:42 AM3/18/25
to desmos-api-discuss
I figured out how to do it. This code works.

Calc.controller.dispatch({ type:"toggle-ticker" })

2025年2月15日土曜日 0:28:37 UTC+9 U ji:

Chris Lusto

unread,
Apr 14, 2025, 10:48:41 AM4/14/25
to desmos-api-discuss
Just a word of caution that calling the dispatcher directly this way is not supported and can break without notice. We encourage people to put their conditional logic in the action that the ticker is running instead.

Reply all
Reply to author
Forward
0 new messages