-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dialog)!: match native
<dialog>
and fix spacing
Fixes #4647 Fixes #4285 BREAKING CHANGE: See #4675 for more details. Dialogs use the native `<dialog>` interface, which uses a `<form method="dialog">` to set up dialog actions. ```html <md-dialog> <div slot="headline">A simple dialog</div> <form id="form" method="dialog" slot="content"> This is a dialog with text content. </form> <div slot="actions"> <md-text-button form="form" value="close">Close</md-text-button> <md-text-button form="form" value="ok">OK</md-text-button> </div> </md-dialog> ``` PiperOrigin-RevId: 555702952
- Loading branch information
1 parent
f7660a5
commit 2996a8b
Showing
9 changed files
with
787 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.