Skip to content

Commit

Permalink
Add demo with polymer template
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Jul 27, 2018
1 parent 5955cc7 commit d51699c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ <h3>Show and Hide Overlay</h3>
</template>
</demo-snippet>

<h3>Defining Content with Polymer Templates</h3>
<demo-snippet>
<template>
<vaadin-overlay id="overlay-template">
<template>
Overlay Content defined with Polymer Template
</template>
</vaadin-overlay>

<vaadin-button onclick="document.querySelector('#overlay-template').opened = true">
Toggle the overlay
</vaadin-button>
</template>
</demo-snippet>

<h3>Modeless (Non-Modal) Overlay</h3>
<demo-snippet>
<template>
Expand Down

0 comments on commit d51699c

Please sign in to comment.