Sha256: 6db240f6c75be24af535d321a43674b2700ad9d2cbcb116964731561bf86e221
Contents?: true
Size: 615 Bytes
Versions: 62
Compression:
Stored size: 615 Bytes
Contents
#Intercept The intercept module supports the animation system by allowing you to hijack an action change for a particular view controller. Typical Example: ```js intercept("my_controller", "start_action", "to_action", function($sel) { $sel.find("#content").css("left", "40%"); $sel.find("#tab-bar").css("left", "0%"); cd("../*/") }); ``` The actual code used to define an interceptor function is dependent on the platform. An interceptor is defined like as follows: ``` transition "blah" do #Define the context controller "blah" when "a" => "b" path :home, "../../0" path :about, "./1" end ```
Version data entries
62 entries across 62 versions & 1 rubygems