aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.1/components/buttons.md
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2021-06-29 19:08:15 +0300
committerXhmikosR <[email protected]>2021-08-23 18:30:42 +0300
commitcd6776b5b1b79986790604014eddd1b575fe5df7 (patch)
tree0a1146f9061b3034ae3b390713689c0d819e590b /site/content/docs/5.1/components/buttons.md
parent480c7c9c433c2ece50ffc6503eb03292e3853f39 (diff)
downloadbootstrap-js-docs-tweaks.tar.xz
bootstrap-js-docs-tweaks.zip
Diffstat (limited to 'site/content/docs/5.1/components/buttons.md')
-rw-r--r--site/content/docs/5.1/components/buttons.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/site/content/docs/5.1/components/buttons.md b/site/content/docs/5.1/components/buttons.md
index d0298f65e..1924eab00 100644
--- a/site/content/docs/5.1/components/buttons.md
+++ b/site/content/docs/5.1/components/buttons.md
@@ -174,9 +174,8 @@ var bsButton = new bootstrap.Button(button)
| --- | --- |
| `toggle` | Toggles push state. Gives the button the appearance that it has been activated. |
| `dispose` | Destroys an element's button. (Removes stored data on the DOM element) |
-| `getInstance` | Static method which allows you to get the button instance associated to a DOM element, you can use it like this: <code>bootstrap.Button.getInstance(element)</code>|
-| `getOrCreateInstance` | Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialised.
-You can use it like this: <code>bootstrap.Button.getOrCreateInstance(element)</code> |
+| `getInstance` | Static method which allows you to get the button instance associated to a DOM element, you can use it like this: `bootstrap.Button.getInstance(element)`|
+| `getOrCreateInstance` | Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialised. You can use it like this: `bootstrap.Button.getOrCreateInstance(element)` |
{{< /bs-table >}}
For example, to toggle all buttons