How to manipulate the ticker?

81 views
Skip to first unread message

U ji

unread,
Feb 14, 2025, 10:28:37 AMFeb 14
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 AMMar 18
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 AMApr 14
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