This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// F# code | |
jQueryUI("#dragEl") | |
.draggable( | |
[ "axis" => "y" | |
"containment" => "#demo-frame" | |
]) | |
.ignore() | |
// Output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Pit jQuery API - Experimental version, modifies Pit AST to generate proper jQuery output | |
document.GetElementById("check") | |
|> jQuery.ofEl | |
|> jQuery.attr3 ([|"src","/images/hat.gif";"title","jQuery";"alt","jQuery logo"|]) | |
|> jQuery.css3 ("background","red") | |
|> jQuery.ignore |