aria-label
|
String
|
|
Explicitly supply an 'aria-label' attribute for the modal. Should be set when the modal has no title. When not set 'aria-labelledby' will point to the modal's title
|
auto-focus-button
v2.0.0+
|
String
|
null
|
Specify which built-in button to focus once the modal opens: 'ok', 'cancel', or 'close'
|
body-bg-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the body background
|
body-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal-body' wrapper element
|
body-text-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the body text
|
busy
|
Boolean
|
false
|
Places the built in default footer OK and Cancel buttons in the disabled state
|
button-size
|
String
|
|
Size of the built in footer buttons: 'sm', 'md' (default), or 'lg'
|
cancel-disabled
|
Boolean
|
false
|
Places the default footer Cancel button in the disabled state
|
cancel-title
|
String
|
'Cancel'
|
Text string to place in the default footer Cancel button
|
cancel-title-html
Use with caution
|
String
|
|
HTML string to place in the default footer Cancel button
|
cancel-variant
|
String
|
'secondary'
|
Button color theme variant to apply to the default footer Cancel button
|
centered
|
Boolean
|
false
|
Vertically centers the modal in the viewport
|
content-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal-content' wrapper element
|
dialog-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal-dialog' wrapper element
|
footer-bg-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the footer background
|
footer-border-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the footer border
|
footer-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal-footer' wrapper element
|
footer-tag
v2.22.0+
|
String
|
'footer'
|
Specify the HTML tag to render instead of the default tag for the footer
|
footer-text-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the footer text
|
header-bg-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the header background
|
header-border-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the header border
|
header-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal-header' wrapper element
|
header-close-content
v2.3.0+
|
String
|
'×'
|
Content of the header close button
|
header-close-label
|
String
|
'Close'
|
Value of the 'aria-label' on the header close button
|
header-close-variant
|
String
|
|
Text theme color variant to apply to the header close button
|
header-tag
v2.22.0+
|
String
|
'header'
|
Specify the HTML tag to render instead of the default tag for the header
|
header-text-variant
|
String
|
|
Applies one of the Bootstrap theme color variants to the header text
|
hide-backdrop
|
Boolean
|
false
|
Disables rendering of the modal backdrop
|
hide-footer
|
Boolean
|
false
|
Disables rendering of the modal footer
|
hide-header
|
Boolean
|
false
|
Disables rendering of the modal header
|
hide-header-close
|
Boolean
|
false
|
Disables rendering of the modal header's close button
|
id
|
String
|
|
Used to set the `id` attribute on the rendered content, and used as the base to generate any additional element IDs as needed
|
ignore-enforce-focus-selector
v2.4.0+
|
Array
or
String
|
|
Ignore certain elements from the enforce focus routine, specified by css selector(s)
|
lazy
|
Boolean
|
false
|
When the modal has the `static` prop set, renders the modal content lazily
|
modal-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the '.modal' wrapper element
|
no-close-on-backdrop
|
Boolean
|
false
|
Disables the ability to close the modal by clicking the backdrop
|
no-close-on-esc
|
Boolean
|
false
|
Disables the ability to close the modal by pressing ESC
|
no-enforce-focus
|
Boolean
|
false
|
Disables the enforce focus routine which maintains focus inside the modal
|
no-fade
|
Boolean
|
false
|
When set to `true`, disables the fade animation/transition on the component
|
no-stacking
|
Boolean
|
false
|
Prevents other modals from stacking over this one
|
ok-disabled
|
Boolean
|
false
|
Places the default footer OK button in the disabled state
|
ok-only
|
Boolean
|
false
|
Disables rendering of the default footer Cancel button
|
ok-title
|
String
|
'OK'
|
Text string to place in the default footer OK button
|
ok-title-html
Use with caution
|
String
|
|
HTML string to place in the default footer OK button
|
ok-variant
|
String
|
'primary'
|
Button color theme variant to apply to the default footer OK button
|
return-focus
|
HTMLElement
or
Object
or
String
|
|
HTML Element reference, CSS selector, or component reference to return focus to when the modal closes. When not set, will return focus to the element that last had focus before the modal opened
|
scrollable
|
Boolean
|
false
|
Enables scrolling of the modal body
|
size
|
String
|
'md'
|
Set the size of the modal's width. 'sm', 'md' (default), 'lg', or 'xl'
|
static
|
Boolean
|
false
|
Renders the content of the component in-place in the DOM, rather than portalling it to be appended to the body element
|
title
|
String
|
|
Text content to place in the title
|
title-class
|
Array
or
Object
or
String
|
|
CSS class (or classes) to apply to the title
|
title-html
Use with caution
|
String
|
|
HTML string content to place in the title
|
title-sr-only
|
Boolean
|
false
|
Wraps the title in an '.sr-only' wrapper
|
title-tag
|
String
|
'h5'
|
Specify the HTML tag to render instead of the default tag for the title
|
visible
v-model
|
Boolean
|
false
|
The current visibility state of the modal
|