This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Chandan Manohar Raikar
Posted Sep 29 - Read on Facebook

Hi ,
is there a way to convert this jquery function to coffeescript?

$("#exp").donutpie('update', get_data());

and how can i call this function on click on a layer?
$("#exp").donutpie('update', get_data1());


Koen Bok

You can always use this: But you likely want to replace jquery with vanilla `document.getElementById(...)`.

Read the entire post on Facebook