We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UsaModal
A modal disables page content and focuses the user's attention on a single task or message.
status: draft
draft
size
false
force-action
heading
''
heading-tag
h2
h1
h3
h4
h5
h6
usa-modal--lg
UsaModalCloseButton
UsaOverlay
v-usa-modal
v-model
lg
forceAction
true
aria-labelledby
aria-describedby
The text was updated successfully, but these errors were encountered:
d382ff4
patrickcate
No branches or pull requests
Modal
A modal disables page content and focuses the user's attention on a single task or message.
status:
draft
Props
size
false
force-action
false
heading
''
heading-tag
h2
h1
,h2
,h3
,h4
,h5
,h6
Slots
CSS Classes
usa-modal--lg
External Libraries
Sub-Components
UsaModalCloseButton
component #57Dependencies
UsaOverlay
component #58v-usa-modal
directiveNotes
v-model
for modal open state.Tests
size
prop value islg
, the CSS classusa-modal--lg
is applied.forceAction
prop istrue
, the modal close button is not rendered.forceAction
prop isfalse
, clicking the overlay closes the modal.forceAction
prop isfalse
, pressing the escape key closes the modal.forceAction
prop isfalse
, clicking the close button closes the modal.aria-labelledby
set to the id of the heading.aria-describedby
set to the id of the body text.heading
prop is used, the text is added as the modal heading.heading
slot is used, the content is added as the modal heading.heading
prop and slot are both used, theheading
slot will override theheading
prop.The text was updated successfully, but these errors were encountered: