Discuss or ask a question
What is Fanquery?
Fantom is awesome. One of the awesomeness is the fact that it compiles to Javascript. Jquery is amazing too. Fanquery lets you use jquery and all it's plugins right inside fantom.
The goal is to match Jquery's syntax as much as possible, yet provide type safety and a sprinkle of what makes Fantom beautiful. A few examples..
Jq("#button").slideUp.slideDown(["duration":Jq.slow])
	
Jq("#link").click|cur, event|{
  Win.cur.alert("Ouch!")
}	

Jq("#myphoto").fancybox
Develop, port and use Jquery plugins
Fanquery provides an easy way to develop your own plugin either from scratch totally in Fantom or just port an existing jquery plugin and wrap it up with a nice Fantom API.