Skip to content

Instantly share code, notes, and snippets.

@ootes
Created July 1, 2014 12:12
Show Gist options
  • Save ootes/1c42231cb9414f5fe5fe to your computer and use it in GitHub Desktop.
Save ootes/1c42231cb9414f5fe5fe to your computer and use it in GitHub Desktop.
designer
<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;
}
#code_mirror {
width: 400px;
height: 300px;
left: 330px;
top: 220px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 730px;
top: 220px;
position: absolute;
}
</style>
<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="securephp" 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