This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dialog): remove deprecated content options and methods
BREAKING CHANGE: Removed support for the deprecated `.content('string')` methods and options. These were deprecated in favor of `.textContent('string')` and `.htmlContent('sanitized-string')'` methods and their associated options. Please note that use of `.htmlContent` requires that the `ngSanitize` module be loaded. If you have ```js alert = $mdDialog.alert() .content('This is an example.'); ``` It needs to be changed to ```js alert = $mdDialog.alert() .textContent('This is an example.'); ``` If you have ```js alert = $mdDialog.alert({ content: 'This is an example.' }); ``` It needs to be changed to ```js alert = $mdDialog.alert({ textContent: 'This is an example.' }); ```
- Loading branch information
Showing
2 changed files
with
8 additions
and
32 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