Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 55210c6

Browse files
dgoudietrimox
authored andcommitted
demos: Update usage.html, change string values of 'true' to proper boolean values (#1897)
1 parent 0561f78 commit 55210c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demos/src/app/components/dialog-demo/usage.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ <h3 class="demo-content__headline">Usage</h3>
55
<code class="docs-markdown-code">MdcDialogRef</code>:
66

77
<pre><code highlight="let dialogRef = dialog.open(UserProfileComponent, {
8-
clickOutsideToClose: 'true',
9-
escapeToClose: 'true',
8+
clickOutsideToClose: true,
9+
escapeToClose: true,
1010
});"></code></pre>
1111

1212
The <code class="docs-markdown-code">MdcDialogRef</code> provides a handle on the opened dialog. It can be used to
@@ -81,4 +81,4 @@ <h3 class="demo-content__headline">Configuring dialog content via entryComponent
8181
bootstrap: [AppComponent]
8282
})
8383
export class AppModule {}"></code></pre>
84-
</div>
84+
</div>

0 commit comments

Comments
 (0)