Skip to content

Commit a5241ea

Browse files
committed
Update README.md
1 parent fbf0827 commit a5241ea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/navbar/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ Internally, `<b-navbar-toggle>` uses the [`v-b-toggle` directive](/docs/directiv
292292
`<b-navbar-toggle>` renders the default Bootstrap v4 _hamburger_ (which is a background SVG image).
293293
You can supply your own content (such as an icon) via the optionally scoped `default` slot. The
294294
default slot scope contains the property `expanded`, which will be `true` when the collapse is
295-
expanded, or `false` when the collapse is collapsed. The `expanded` scope property only works when
296-
supplying the `target` prop with a `string`, and not an `array`.
295+
expanded, or `false` when the collapse is collapsed.
297296

298-
You can use this to swap the toggle content based on the collapse state:
297+
Note that the `expanded` scope property only works when supplying the `target` prop as a `string`,
298+
and not an `array`.
299299

300300
```html
301301
<template>
@@ -318,6 +318,7 @@ You can use this to swap the toggle content based on the collapse state:
318318
</b-collapse>
319319
</b-navbar>
320320
</template>
321+
321322
<!-- b-navbar-toggle-slot.vue -->
322323
```
323324

0 commit comments

Comments
 (0)