File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ Create a spinner dialog:
72
72
``` javascript
73
73
this .$ .dm .start ().spinner ().dismiss (' Cancel' ).open ();
74
74
```
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.
76
76
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:
78
78
``` javascript
79
79
this .$ .dm .defaultAttributes = {
80
80
' entry-animation' : ' scale-up-animation' ,
@@ -83,15 +83,15 @@ this.$.dm.defaultAttributes = {
83
83
};
84
84
```
85
85
86
- Adding attributes to your paper- dialog:
86
+ Setting the attributes for dialog:
87
87
``` javascript
88
88
this .$ .dm .start ().title (' Title' ).body (' Body' ).confirm (' Mkay' ).attrs ({
89
89
' entry-animation' : ' scale-up-animation' ,
90
90
' with-backdrop' : ' true' ,
91
91
' exit-animation' : ' fade-out-animation'
92
92
}).open ();
93
93
```
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.
95
95
96
96
Removing all open dialogs:
97
97
``` javascript
You can’t perform that action at this time.
0 commit comments