You can find the full example (F# + ASP.NET MVC + CoffeeScript + jQuery UI) on my GitHub: https://github.com/dmohl/FsCoffeeScriptjQueryUIExample.
class Slider constructor: -> $('#master').slider value: 60 orientation: "horizontal" range: "min" animate: true $('#eq > span').each -> value = parseInt $(this).text(), 10 $(this).empty().slider value: value range: "min" animate: true orientation: "vertical" window.slider = new Slider()
No comments:
Post a Comment