Skip to content

chore: prettify #3034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/embed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Set the type of embed you would like via the `type` prop.

## Aspect ratios

Aspect ratios can be set via the `aspect` prop. Supported aspect ratios are: `21by9` (21:9),
`16by9` (16:9), `4by3` (4:3) and `1by1` (1:1). The default aspect is `16by9`. Aspect ratios are
defined in Bootstrap's SCSS and translate to the classname `embed-responsive-{aspect}` (i.e.
Aspect ratios can be set via the `aspect` prop. Supported aspect ratios are: `21by9` (21:9), `16by9`
(16:9), `4by3` (4:3) and `1by1` (1:1). The default aspect is `16by9`. Aspect ratios are defined in
Bootstrap's SCSS and translate to the classname `embed-responsive-{aspect}` (i.e.
`embed-responsive-16by9`, `embed-responsive-4by3`, excetera).

## Wrapper element
Expand Down
14 changes: 7 additions & 7 deletions src/components/form/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Form

> BootstrapVue form component and helper components that optionally support inline form styles
> and validation states. Pair them up with other BootstrapVue form cotrol components for an easy
> BootstrapVue form component and helper components that optionally support inline form styles and
> validation states. Pair them up with other BootstrapVue form cotrol components for an easy
> customized, and responsive, layout with a consistent look and feel.

## Introduction to forms and controls

Be sure to use an appropriate `type` on all inputs (e.g., `email` for email address or `number`
for numerical information) to take advantage of newer input controls like email verification,
number selection, and more.
Be sure to use an appropriate `type` on all inputs (e.g., `email` for email address or `number` for
numerical information) to take advantage of newer input controls like email verification, number
selection, and more.

Here’s a quick example to demonstrate BootstrapVue’s form styles. Keep reading for documentation
on supported components, form layout, and more.
Here’s a quick example to demonstrate BootstrapVue’s form styles. Keep reading for documentation on
supported components, form layout, and more.

```html
<template>
Expand Down
12 changes: 6 additions & 6 deletions src/components/image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ images is available via the `<b-img-lazy>` complimentary component.

## Image src resolving

The `src` prop (and `blank-src` prop of `<b-img-lazy>`), out of the box, works only with
absolute or fully-qualified-domain-name URLs. If you are using project assets as image sources,
please refer to [Component img src resolving](/docs/reference/images) for configuring `vue-loader`
to understand custom component props that specify image sources.
The `src` prop (and `blank-src` prop of `<b-img-lazy>`), out of the box, works only with absolute or
fully-qualified-domain-name URLs. If you are using project assets as image sources, please refer to
[Component img src resolving](/docs/reference/images) for configuring `vue-loader` to understand
custom component props that specify image sources.

## Syling images

Several props are available for styling the rendered image element. The following sub-sections
cover the various options.
Several props are available for styling the rendered image element. The following sub-sections cover
the various options.

### Responsive images

Expand Down
8 changes: 4 additions & 4 deletions src/components/modal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ export default {

To prevent `<b-modal>` from closing (for example when validation fails). you can call the
`.preventDefault()` method of the event object passed to your `ok` (**OK** button), `cancel`
(**Cancel** button) and `hide` event handlers. Note that `.preventDefault()`, when used, **must**
be called synchronously, as async is not supported.
(**Cancel** button) and `hide` event handlers. Note that `.preventDefault()`, when used, **must** be
called synchronously, as async is not supported.

```html
<template>
Expand Down Expand Up @@ -255,8 +255,8 @@ emitted.

The `ok`, `cancel`, and `hide` event object contains several properties and methods:

| Property or Method | Type | Description |
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property or Method | Type | Description |
| ------------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `preventDefault()` | Method | When called prevents the modal from closing |
| `trigger` | Property | Will be one of: `ok` (Default **OK** Clicked), `cancel` (Default **Cancel** clicked), `esc` (if the <kbd>ESC</kbd> key was pressed), `backdrop` (if the backdrop was clicked), `headerclose` (if the header X button was clicked), the argument provided to the `hide()` method, or `undefined` otherwise. |
| `target` | Property | A reference to the modal element |
Expand Down
6 changes: 3 additions & 3 deletions src/components/table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ Record data may also have additional special reserved name keys for colorizing r
cells (variants), and for triggering additional row detail. The supported optional item record
modifier properties (make sure your field keys do not conflict with these names):

| Property | Type | Description |
| --------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property | Type | Description |
| --------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `_cellVariants` | Object | Bootstrap contextual state applied to individual cells. Keyed by field (See the [Color Variants](/docs/reference/color-variants) for supported values). These variants map to classes `table-${variant}` or `bg-${variant}` (when the `dark` prop is set). |
| `_rowVariant` | String | Bootstrap contextual state applied to the entire row (See the [Color Variants](/docs/reference/color-variants) for supported values). These variants map to classes `table-${variant}` or `bg-${variant}` (when the `dark` prop is set) |
| `_showDetails` | Boolean | Used to trigger the display of the `row-details` scoped slot. See section [Row details support](#row-details-support) below for additional information |
| `_showDetails` | Boolean | Used to trigger the display of the `row-details` scoped slot. See section [Row details support](#row-details-support) below for additional information |

**Example: Using variants for table cells**

Expand Down
8 changes: 4 additions & 4 deletions src/directives/scrollspy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ as well.

### Example using nested navs

Scrollspy also works with nested `<b-nav>`. If a nested `<b-nav-item>` is active, its parent()s
will also be active. Scroll the area next to the navbar and watch the active class change.
Scrollspy also works with nested `<b-nav>`. If a nested `<b-nav-item>` is active, its parent()s will
also be active. Scroll the area next to the navbar and watch the active class change.

```html
<template>
Expand Down Expand Up @@ -243,8 +243,8 @@ of the following methods to generate the apropriate `href` on the rendered link:
<b-nav-item :to="{ hash: '#id-of-element' }">link text</b-nav-item>
```

Scrollspy works with both `history` and `hash` routing modes, as long as the generated URL ends
with `#id-of-element`.
Scrollspy works with both `history` and `hash` routing modes, as long as the generated URL ends with
`#id-of-element`.

## Directive syntax and usage

Expand Down
Loading