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(toast): remove deprecated content() method and option and up…
…dateContent() method BREAKING CHANGE: The deprecated `content()` and `updateContent()` methods have been removed. If you had: ```js $mdToast.show($mdToast.simple().content('This no longer works.')); ``` You will need to change to: ```js $mdToast.show($mdToast.simple().textContent('This works.')); ``` If you had: ```js $mdToast.updateContent('This no longer works.'); ``` You will need to change to: ```js $mdToast.updateTextContent('This works.'); ``` If you had: ```js $mdToast.show($mdToast.simple({parent: parent, content: 'This no longer works.', theme: 'some-theme', capsule: true})); ``` You will need to change to: ```js $mdToast.show($mdToast.simple({parent: parent, textContent: 'This works.', theme: 'some-theme', capsule: true})); ```
- Loading branch information
Showing
2 changed files
with
28 additions
and
38 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