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();
$("#exp").donutpie('update', get_data());

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

1 Comments

Koen Bok

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

Read the entire post on Facebook