Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 1938945

Browse files
committed
fix(dialog): update code example from content to textContent. Fixes
1 parent b4ef302 commit 1938945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dialog/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) {
147147
* function showAlert() {
148148
* alert = $mdDialog.alert({
149149
* title: 'Attention',
150-
* content: 'This is an example of how easy dialogs can be!',
150+
* textContent: 'This is an example of how easy dialogs can be!',
151151
* ok: 'Close'
152152
* });
153153
*

0 commit comments

Comments
 (0)