Set cursor's blink rate on the fly

Hello,

How can I change dynamically the cursor’s blink rate?

thanks,
P

On the desktop, you can, but it won’t work on mobile/contenteditable mode.

Thanks for your reply.

I need to set it on the cm instance, dynamically.

I tried with

cm.cursorBlinkRate = 0.2

but it has no effect. This thread shows a hint

but it doesn’t explain how to do it, specifically. What’s the proper command?

thanks.

I just found the answer:

cm.setOption(“cursorBlinkRate”, val)

best,
P