Skip to content

Commit

Permalink
Merge branch 'main' into patrickhlauke-navs-tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke committed Feb 8, 2021
2 parents 229a4af + b6cae91 commit 92b72cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/popovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,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=""`.
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"`.

{{< callout warning >}}
Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` options cannot be supplied using data attributes.
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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=""`.
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"`.

{{< callout warning >}}
Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` options cannot be supplied using data attributes.
Expand Down

0 comments on commit 92b72cb

Please sign in to comment.