Skip to content

Instantly share code, notes, and snippets.

@jvalentini
Created July 11, 2014 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvalentini/2a7e54329a0706ee1b82 to your computer and use it in GitHub Desktop.
Save jvalentini/2a7e54329a0706ee1b82 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#notification_alert {
left: 260px;
top: 230px;
position: absolute;
}
#notification_alert1 {
left: 220px;
top: 230px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 250px;
top: 260px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 240px;
top: -40px;
position: absolute;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
<cool-clock skin="watermelon" id="cool_clock"></cool-clock>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment