Skip to content

Commit 4b59df9

Browse files
1elementtmorehouse
authored andcommitted
docs(dropdown): fix typos (bootstrap-vue#1487)
1 parent f64cef2 commit 4b59df9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/dropdown/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ clicking (or pressing space or enter when focused), not by hovering; this is an
2626

2727
## Dropdown supported sub-components
2828
The following components can be placed inside of your dropdowns. Using any other
29-
component or markup may break lauout and/or keyboard navigation.
29+
component or markup may break layout and/or keyboard navigation.
3030

3131
| Sub-component | Description | Aliases
3232
| --------- | ----------- | -------
33-
| `<b-dropdown-item>` | Action items that provide click, link, and `<router-link>` functionality. renders as an `<a>` element by default. | `<b-dd-item>`
33+
| `<b-dropdown-item>` | Action items that provide click, link, and `<router-link>` functionality. Renders as an `<a>` element by default. | `<b-dd-item>`
3434
| `<b-dropdown-item-button>` | An alternative to `<b-dropdown-item>` that renders a menu item using a `<button>` element. | `<b-dropdown-item-btn>`, `<b-dd-item-button>`, `<b-dd-item-btn>`
3535
| `<b-dropdown-header>` | A header item, used to help identify a group of dropdown items. | `<b-dd-header>`
3636
| `<b-dropdown-divider>` | A divider / spacer which can be used to separate dropdown items. | `<b-dd-divider>`
@@ -40,8 +40,8 @@ component or markup may break lauout and/or keyboard navigation.
4040
### `<b-dropdown-item>`
4141
The `<b-dropdown-item>` is typically used to create a navigation link inside your menu.
4242
Use either the `href` prop or the `to` prop (for router link support) to generate the
43-
apropriate navigation link. IF neither `href` nor `to` are provided, a standard `<a>`
44-
link will be generated with an `href` of `#` (with an event hander that will prevent
43+
appropriate navigation link. If neither `href` nor `to` are provided, a standard `<a>`
44+
link will be generated with an `href` of `#` (with an event handler that will prevent
4545
scroll to top behaviour by preventing the default link action).
4646

4747
Disabled the dropdown item by setting the `disabled` prop.
@@ -67,8 +67,8 @@ Disabled the dropdown item button by setting the `disabled` prop.
6767
<!-- dropdown-item-buttons.vue -->
6868
```
6969

70-
When the menu item doesn't trigger navigation, it is reccomended to use
71-
the `<b-dropdown-item-button>` sub-component
70+
When the menu item doesn't trigger navigation, it is recommended to use
71+
the `<b-dropdown-item-button>` sub-component.
7272

7373
### `<b-dropdown-item-divider>`
7474
Separate groups of related menu items with `<b-dropdown-divider>`.
@@ -174,10 +174,10 @@ the toggle button:
174174
### Boundary constraint
175175
By default, dropdowns are visually constrained to its scroll parent, which will suffice
176176
in most situations. However, if you place a dropdown inside an element that has `overflow: scroll`
177-
(or similar) set, the drodpwon menu may - in some situations - get cut off. To get around this,
178-
you can sepcify a boundary element via the `boundary` prop. Supported values are `'scrollParent'`
177+
(or similar) set, the dropdown menu may - in some situations - get cut off. To get around this,
178+
you can specify a boundary element via the `boundary` prop. Supported values are `'scrollParent'`
179179
(the default), `'viewport'`, `'window'` or a reference to an HTML element. The boundary value
180-
is passed directly to Popper.js's `boundariesElement` configurtion option.
180+
is passed directly to Popper.js's `boundariesElement` configuration option.
181181

182182
**Note:** when `boundary` is any value other than the default of `'scrollParent'`, the style
183183
`position: static` is applied to to the dropdown component's root element in order to allow the
@@ -239,7 +239,7 @@ Set the `size` prop to either `sm` for small button(s), or `lg` for large button
239239

240240

241241
## Dropdown color variants
242-
The dropdown trigger buttons can have one of the standard Boostrap contextual variants applied
242+
The dropdown trigger buttons can have one of the standard Bootstrap contextual variants applied
243243
by setting the prop `variant` to `success`, `primary`, `info`, `danger`, `link` etc.
244244

245245
See the [Variant Reference](/docs/reference/variants) for a list of supported contextual variants.
@@ -276,7 +276,7 @@ the appropriate `aria-*` attributes in the rendered markup.
276276
The default ARIA role is set to `menu`, but you can change this default to another role
277277
(such as `navigation`) via the `role` prop, depending on your user case.
278278

279-
When a menu item doesn't trigger navigation, it is reccomended to use the
279+
When a menu item doesn't trigger navigation, it is recommended to use the
280280
`<b-dropdown-item-button>` sub-component (which is not announced as a link) instead of
281281
`<b-dropdown-item>` (which is presented as a link to the user).
282282

0 commit comments

Comments
 (0)