-
Notifications
You must be signed in to change notification settings - Fork 908
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>
APIs
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: 554893225
- Loading branch information
1 parent
234309e
commit 5d451c9
Showing
9 changed files
with
758 additions
and
679 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.