Skip to content

Commit 4d7d065

Browse files
committed
Update README.md
1 parent aa530fd commit 4d7d065

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ Create a spinner dialog:
7272
```javascript
7373
this.$.dm.start().spinner().dismiss('Cancel').open();
7474
```
75-
Note that adding a spinner implicitly adds a `modal="true"` attribute to your dialog to prevent closing it by clicking outside the dialog box.
75+
Note that adding a spinner implicitly sets a `modal="true"` attribute to your dialog to prevent closing it by clicking outside the dialog box.
7676

77-
Adding default attributes to your dialog-manager, which will be stamped for each paper-dialog it creates:
77+
Setting the default attributes for a dialog-manager, which will be stamped for each paper-dialog it creates:
7878
```javascript
7979
this.$.dm.defaultAttributes = {
8080
'entry-animation':'scale-up-animation',
@@ -83,15 +83,15 @@ this.$.dm.defaultAttributes = {
8383
};
8484
```
8585

86-
Adding attributes to your paper-dialog:
86+
Setting the attributes for dialog:
8787
```javascript
8888
this.$.dm.start().title('Title').body('Body').confirm('Mkay').attrs({
8989
'entry-animation':'scale-up-animation',
9090
'with-backdrop':'true',
9191
'exit-animation':'fade-out-animation'
9292
}).open();
9393
```
94-
Note that adding attributes like that will make the dialog-manager ignore it's `defaultAttributes` for that particular dialog.
94+
Note that settings attributes like that will make the dialog-manager ignore it's `defaultAttributes` for that particular dialog.
9595

9696
Removing all open dialogs:
9797
```javascript

0 commit comments

Comments
 (0)