]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tooltip/Popover — Minor doc updates (#33733)
authorRohit Sharma <rohit2sharma95@gmail.com>
Sun, 25 Apr 2021 03:56:30 +0000 (09:26 +0530)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 03:56:30 +0000 (06:56 +0300)
site/content/docs/5.0/components/popovers.md
site/content/docs/5.0/components/tooltips.md

index 984d91a3c572500d7f18b79c707fafdfd6375a76..9ff41f1101e36e3be417d5bf708d237ea1afb2f1 100644 (file)
@@ -136,7 +136,7 @@ Additionally, while it is possible to also include interactive controls (such as
 
 ### Options
 
-Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-bs-`, as in `data-bs-animation=""`. Make sure to change the case type of the option name from camelCase to kebab-case when passing via data attributes. For example: instead of using `data-bs-customClass="beautifier"`, use `data-bs-custom-class="beautifier"`.
+Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-bs-`, as in `data-bs-animation=""`. Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using `data-bs-customClass="beautifier"`, use `data-bs-custom-class="beautifier"`.
 
 {{< callout warning >}}
 Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` options cannot be supplied using data attributes.
index 61c6753a43e6ab7fab51d197ca5237d0dcf50e47..7d2ab6d05dae7f551eae8fa96d789ed519af6a53 100644 (file)
@@ -163,7 +163,7 @@ Elements with the `disabled` attribute aren't interactive, meaning users cannot
 
 ### Options
 
-Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-bs-`, as in `data-bs-animation=""`. Make sure to change the case type of the option name from camelCase to kebab-case when passing via data attributes. For example: instead of using `data-bs-customClass="beautifier"`, use `data-bs-custom-class="beautifier"`.
+Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-bs-`, as in `data-bs-animation=""`. Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using `data-bs-customClass="beautifier"`, use `data-bs-custom-class="beautifier"`.
 
 {{< callout warning >}}
 Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` options cannot be supplied using data attributes.