Skip to content

Commit

Permalink
chore(demo): add when-defined for demo snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 17, 2018
1 parent 07fd8f2 commit a0a8e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions demo/select-basic-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</style>

<h3>Basic Usage</h3>
<vaadin-demo-snippet id="select-list-box-basic">
<vaadin-demo-snippet id="select-list-box-basic" when-defined="vaadin-select">
<template preserve-content>
<vaadin-select></vaadin-select>
<script>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>Defining Content with Polymer Templates</h3>
</vaadin-demo-snippet>

<h3>Configuring the Select</h3>
<vaadin-demo-snippet id="select-list-box-configuring">
<vaadin-demo-snippet id="select-list-box-configuring" when-defined="vaadin-select">
<template preserve-content>
<vaadin-select label="Label" placeholder="Placeholder"></vaadin-select>
<vaadin-select label="Disabled" disabled></vaadin-select>
Expand Down Expand Up @@ -129,7 +129,7 @@ <h3>Customize the Label of Selected Value</h3>
<p>
By setting the <code>label</code> attribute of inner vaadin-items you will be able to change the visual representation of the selected value in the input part.
</p>
<vaadin-demo-snippet id="select-list-box-custom-label">
<vaadin-demo-snippet id="select-list-box-custom-label" when-defined="vaadin-select">
<template preserve-content>
<vaadin-select placeholder="Language"></vaadin-select>
<script>
Expand Down
2 changes: 1 addition & 1 deletion demo/select-validation-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</style>

<h3>Using as a Form Field</h3>
<vaadin-demo-snippet id="select-validation">
<vaadin-demo-snippet id="select-validation" when-defined="vaadin-select">
<template preserve-content>
<iron-form>
<form method="post">
Expand Down

0 comments on commit a0a8e04

Please sign in to comment.