Skip to content

Commit 85a9e65

Browse files
author
Issayah
authored
Merge pull request bootstrap-vue#6946 from tomscytale/patch-1
fix(docs) b-modal - move section on events emitted into own section
2 parents 21eb541 + efa18df commit 85a9e65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/modal/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ To prevent `<b-modal>` from closing (for example when validation fails). you can
317317
<!-- b-modal-prevent-closing.vue -->
318318
```
319319

320-
**Note**: events `ok`, `cancel`, and `close` are emitted by modal's built in **OK**, **Cancel**, and
320+
## Events
321+
322+
The events `ok`, `cancel`, and `close` are emitted by modal's built in **OK**, **Cancel**, and
321323
header close (**X**) buttons respectively. These events will not be emitted, by default, if you have
322324
provided your own buttons in the `modal-footer` slot or have hidden the footer. In this case use the
323325
`hide` event to control cancelling of the modal close. Event `hide` is always emitted, even if `ok`,

0 commit comments

Comments
 (0)