1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 07:37:27 +02:00

Minor wording tweaks

This commit is contained in:
XhmikosR
2019-08-14 18:50:06 +03:00
parent f03c10a189
commit 9cee3c2808
5 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ describe('Dropdown', () => {
expect(dropdown.toggle).toHaveBeenCalled() expect(dropdown.toggle).toHaveBeenCalled()
}) })
it('should allow to pass config to popper.js thanks to popperConfig', () => { it('should allow to pass config to popper.js with `popperConfig`', () => {
fixtureEl.innerHTML = [ fixtureEl.innerHTML = [
'<div class="dropdown">', '<div class="dropdown">',
' <button href="#" class="btn dropdown-toggle" data-toggle="dropdown">Dropdown</button>', ' <button href="#" class="btn dropdown-toggle" data-toggle="dropdown">Dropdown</button>',

View File

@@ -109,7 +109,7 @@ describe('Tooltip', () => {
tooltipInContainerEl.click() tooltipInContainerEl.click()
}) })
it('should allow to pass config to popper.js thanks to popperConfig', () => { it('should allow to pass config to popper.js with `popperConfig`', () => {
fixtureEl.innerHTML = '<a href="#" rel="tooltip"/>' fixtureEl.innerHTML = '<a href="#" rel="tooltip"/>'
const tooltipEl = fixtureEl.querySelector('a') const tooltipEl = fixtureEl.querySelector('a')

View File

@@ -859,7 +859,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>popperConfig</td> <td>popperConfig</td>
<td>null | object</td> <td>null | object</td>
<td>null</td> <td>null</td>
<td>To change Bootstrap default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js configuration</a></td> <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@@ -285,7 +285,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti
<td>popperConfig</td> <td>popperConfig</td>
<td>null | object</td> <td>null | object</td>
<td>null</td> <td>null</td>
<td>To change Bootstrap default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js configuration</a></td> <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@@ -282,7 +282,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti
<td>popperConfig</td> <td>popperConfig</td>
<td>null | object</td> <td>null | object</td>
<td>null</td> <td>null</td>
<td>To change Bootstrap default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js configuration</a></td> <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>