Document why v-b-modal directive is recommended
See original GitHub issueI’m currently working on integrating bootstrap vue’s modal into my application and wanted to learn more about why v-b-modal
directive is the recommended approach. If I can get some insight here, I’d be happy to update the documentation with that information.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Advance Directive and MOLST | UM BWMC
The two forms that protect your health and follow your wishes are Advance Directive and MOLST (Medical Orders for Life-Sustaining Treatment). It is...
Read more >Advance Directives and Do Not Resuscitate Orders
An advance directive is a legal document. It tells your doctor and family what kind of medical care you want to have if...
Read more >An Overview of Powers of Attorney and Advance Directives (a ...
It is generally recommended that the power be given to your spouse, ... These documents include the Advance Directive for Health Care ...
Read more >Advance Care Planning: Health Care Directives
Research shows that advance directives can make a difference, and that people who document their preferences in this way are more likely to...
Read more >Is it a good practice for angular Directive append itself ...
There is no need to add <test-modal> as dynamic component loading helps you to do it. There is an example in the document...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, right, not aria-attributes, but it does add the appropriate
role
(button) to non button triggers (i.e. link or DIV), and also automatically returns focus to the trigger element when the modal closes.Notice when the modal closes that the trigger button has regained focus. When not using the v-b-modal directive, you have to specify which element to return focus to (for accessibility reasons)
See https://bootstrap-vue.js.org/docs/components/modal/#auto-return-focus in the section https://bootstrap-vue.js.org/docs/components/modal/#returning-focus-to-the-triggering-element