You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
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.'
});
```
0 commit comments