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

Version Path
flok-0.0.100 docs/mod/intercept.md
flok-0.0.99 docs/mod/intercept.md
flok-0.0.98 docs/mod/intercept.md
flok-0.0.97 docs/mod/intercept.md
flok-0.0.96 docs/mod/intercept.md
flok-0.0.95 docs/mod/intercept.md
flok-0.0.94 docs/mod/intercept.md
flok-0.0.93 docs/mod/intercept.md
flok-0.0.92 docs/mod/intercept.md
flok-0.0.91 docs/mod/intercept.md
flok-0.0.90 docs/mod/intercept.md
flok-0.0.89 docs/mod/intercept.md
flok-0.0.88 docs/mod/intercept.md
flok-0.0.87 docs/mod/intercept.md
flok-0.0.86 docs/mod/intercept.md
flok-0.0.85 docs/mod/intercept.md
flok-0.0.84 docs/mod/intercept.md
flok-0.0.83 docs/mod/intercept.md
flok-0.0.82 docs/mod/intercept.md
flok-0.0.81 docs/mod/intercept.md