Skip to content

Instantly share code, notes, and snippets.

@disegnovitruviano
Created July 5, 2014 17:41
Show Gist options
  • Select an option

  • Save disegnovitruviano/4d770d32829f5ce16539 to your computer and use it in GitHub Desktop.

Select an option

Save disegnovitruviano/4d770d32829f5ce16539 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 140px;
top: 100px;
position: absolute;
}
#paper_button {
left: 510px;
top: 310px;
position: absolute;
}
#paper_checkbox {
left: 440px;
top: 320px;
position: absolute;
}
</style>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><yt-search-video id="yt_search_video" class="drag-element"></yt-search-video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment