diff options
| author | James Remeika <[email protected]> | 2020-11-20 04:56:16 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-20 11:56:16 +0200 |
| commit | 2d8c02eb1024ef2ce8877d6484a9ea8a4d9cd67f (patch) | |
| tree | 1f4a1277f06bd474a76865f301cc1b8c223264fd /site/content/docs | |
| parent | ffa88deb85b406fc32b3abd4b66169405634bfbe (diff) | |
| download | bootstrap-2d8c02eb1024ef2ce8877d6484a9ea8a4d9cd67f.tar.xz bootstrap-2d8c02eb1024ef2ce8877d6484a9ea8a4d9cd67f.zip | |
tooltip/popover: add a `customClass` option (#31834)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site/content/docs')
| -rw-r--r-- | site/content/docs/4.5/components/popovers.md | 9 | ||||
| -rw-r--r-- | site/content/docs/4.5/components/tooltips.md | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/site/content/docs/4.5/components/popovers.md b/site/content/docs/4.5/components/popovers.md index e06a81769..a44bbf8c9 100644 --- a/site/content/docs/4.5/components/popovers.md +++ b/site/content/docs/4.5/components/popovers.md @@ -270,6 +270,15 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..flip.behavior">behavior docs</a></td> </tr> <tr> + <td>customClass</td> + <td>string | function</td> + <td>''</td> + <td> + <p>Add classes to the popover when it is shown. Note that these classes will be added in addition to any classes specified in the template. To add mutiple classes, separate them with spaces: <code>'a b'</code>.</p> + <p>You can also pass a function that should return a single string containing additional class names.</p> + </td> + </tr> + <tr> <td>boundary</td> <td>string | element</td> <td>'scrollParent'</td> diff --git a/site/content/docs/4.5/components/tooltips.md b/site/content/docs/4.5/components/tooltips.md index c297eea16..fdb926bce 100644 --- a/site/content/docs/4.5/components/tooltips.md +++ b/site/content/docs/4.5/components/tooltips.md @@ -251,6 +251,15 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..flip.behavior">behavior docs</a></td> </tr> <tr> + <td>customClass</td> + <td>string | function</td> + <td>''</td> + <td> + <p>Add classes to the popover when it is shown. Note that these classes will be added in addition to any classes specified in the template. To add mutiple classes, separate them with spaces: <code>'a b'</code>.</p> + <p>You can also pass a function that should return a single string containing additional class names.</p> + </td> + </tr> + <tr> <td>boundary</td> <td>string | element</td> <td>'scrollParent'</td> |
