Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f043906

Browse files
authored
chore(docs): minor update to modal docs
1 parent a192bfc commit f043906

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/modal/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ See the [Accessibility](#accessibility) section below for details.
6868

6969
### Using `this.$bvModal.show()` and `this.$bvModal.hide()` instance methods
7070

71-
<span class="badge badge-info small">NEW in 2.0.0-rc19</span>
71+
<span class="badge badge-info small">NEW in 2.0.0-rc.19</span>
7272

73-
When BootstrapVue is installed as a plugin, or the <samp>Modal</samp> plugin is used, BoostrapVue
73+
When BootstrapVue is installed as a plugin, or the <samp>ModalPlugin</samp> plugin is used, BoostrapVue
7474
will inject a `$bvModal` object on every Vue instance (components, apps). `this.$bvModal` exposes
7575
several methods, of which two are for showing and hiding modals:
7676

@@ -366,10 +366,10 @@ are appended by specifying a container ID (refer to tooltip and popover docs for
366366

367367
## Lazy loading and static modals
368368

369-
<span class="badge badge-info small">ENHANCED in 2.0.0-rc19</span>
369+
<span class="badge badge-info small">ENHANCED in 2.0.0-rc.20</span>
370370

371371
By default, modals will not render their content in the document until they are shown (lazily
372-
rendered). Modals are rendered appended to the `<body>` element (via the use of
372+
rendered). Modals that are visible are rendered appended to the `<body>` element (via the use of
373373
[PortalVue](https://portal-vue.linusb.org/)) inside a modal target `<div>` when they are visible.
374374
`<b-modal>` components will not affect layout, as they render as a placeholder comment node
375375
(`<!---->`).
@@ -379,7 +379,7 @@ document, by setting the `static` prop to `true`. Note that the content of the m
379379
rendered in the DOM even if the modal is not visible/shown when `static` is `true`. To make `static`
380380
modals lazy rendered, also set the `lazy` prop to `true`. The modal will then appear in the
381381
document _only_ when it is visible. Note, when in `static` mode, placement of the `<b-modal>`
382-
component may affect layout of your document.
382+
component may affect layout of your document and the modal.
383383

384384
The `lazy` prop will have no effect if the prop `static` is not `true` (non-static modals will
385385
always be lazily rendered).
@@ -601,7 +601,7 @@ To disable both **Cancel** and **OK** buttons at the same time, simply set the `
601601

602602
### Custom rendering with slots
603603

604-
<span class="badge badge-info small">ENHANCED in 2.0.0-rc19</span>
604+
<span class="badge badge-info small">ENHANCED in 2.0.0-rc.19</span>
605605

606606
`<b-modal>` provides several named slots (of which some are optionally scoped) that you can use to
607607
customize the content of various sections of the modal.
@@ -707,7 +707,7 @@ component. This will hide the modal before another modal is shown.
707707

708708
## Modal message boxes
709709

710-
<span class="badge badge-info small">NEW in 2.0.0-rc19</span>
710+
<span class="badge badge-info small">NEW in 2.0.0-rc.19</span>
711711

712712
BootstrapVue provides a few built in Message Box methods on the exposed `this.$bvModal` object.
713713
These methods provide a way to generate simple OK and Confirm style modal messages, from anywhere in

0 commit comments

Comments
 (0)