Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/ratchet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html
index 8ae2b77..476ddc1 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1261,6 +1261,13 @@ document
window.addEventListener('push', myFunction);
{% endhighlight %}
+ <p class="component-description">Push.js can be triggered manually by using the PUSH(options) function. When passing options, url is required, container, transition and timeout are optional. As of version 2.1.0 Ratchet has its own namespace and can also be called with RATCHET.push(options).</p>
+
+{% highlight js %}
+PUSH({url: "/signin"});
+RATCHET.push({url: "/signin"});
+{% endhighlight %}
+
</article>
<!-- Ratchicons -->