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:
@@ -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>',
|
||||||
|
@@ -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')
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user