|
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
Impatient to see how it works? Try Fanquery online now
or Download and start using Fanquery
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.
Read on to see How to use an existing fanquery plugin
or Develop your own plugin
|
