aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorPierre Vanduynslager <[email protected]>2017-03-28 17:43:16 -0400
committerJohann-S <[email protected]>2017-03-28 23:43:15 +0200
commit48c5efa4c3c439d8720b8475ec3e372c6974a12a (patch)
tree927c262f444f4aaeb0f598cf35ab7b1b385ae76a /docs/_includes
parentce0e2f8e76dade4b6ec9d6eb541c6988739f0653 (diff)
downloadbootstrap-48c5efa4c3c439d8720b8475ec3e372c6974a12a.tar.xz
bootstrap-48c5efa4c3c439d8720b8475ec3e372c6974a12a.zip
Fix JS components console error "Error: <Component> is transitioning"
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/callout-danger-async-methods.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_includes/callout-danger-async-methods.md b/docs/_includes/callout-danger-async-methods.md
new file mode 100644
index 000000000..f7a76aa4d
--- /dev/null
+++ b/docs/_includes/callout-danger-async-methods.md
@@ -0,0 +1,7 @@
+{% callout danger %}
+#### Asynchronous methods and transitions
+
+All API methods are **asynchronous** and start a **transition**. They returns to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
+
+[See our Javascript documentation for more informations.]({{ site.baseurl }}/getting-started/javascript/#content)
+{% endcallout %}