Modal | Bootstrap-vue footer
![Modal](https://i.imgur.com/axBPWDg.jpg)
Modalsarestreamlined,butflexibledialogpromptspoweredbyJavaScriptandCSS.Theysupportanumberofusecasesfromusernotificationtocompletelycustomcontentandfeatureahandfulofhelpfulsub-components,sizes,variants,accessibility,andmore.
![Modal](http://pix4.agoda.net/hotelimages/agoda-homes/5899847/61e1a790eeb181e40e8f262ea5a396dc.jpg?s=800x)
Modals are streamlined, but flexible dialog prompts powered by JavaScript and CSS. They support a number of use cases from user notification to completely custom content and feature a handful of helpful sub-components, sizes, variants, accessibility, and more.
<div> <b-button v-b-modal.modal-1>Launch demo modal</b-button> <b-modal id="modal-1" title="BootstrapVue"> <p class="my-4">Hello from modal!</p> </b-modal> </div> Overview<b-modal>, by default, has an OK and Cancel buttons in the footer. These buttons can be customized by setting various props on the component. You can customize the size of the buttons, disable buttons, hide the Cancel button (i.e. ok-only), choose a variant (e.g. danger for a red OK button) using the ok-variant and cancel-variant props, and provide custom button content using the ok-title and cancel-title props, or using the named slots modal-ok and modal-cancel.
...
取得本站獨家住宿推薦 15%OFF 訂房優惠
本站住宿推薦 20%OFF 訂房優惠,親子優惠,住宿折扣,限時回饋,平日促銷
bootstrap | Bootstrap-vue footer
Card | Bootstrap-vue footer
Components | Bootstrap-vue footer
Modal | Bootstrap-vue footer
Sidebar | Bootstrap-vue footer
Table | Bootstrap-vue footer
Vue Footer | Bootstrap-vue footer
VueJS Bootstrap CSS how to place element bottom of the page? | Bootstrap-vue footer
![](https://i.imgur.com/axBPWDg.jpg)