Skip to content

Instantly share code, notes, and snippets.

@opsroller
Created November 15, 2014 20:49
Show Gist options
  • Save opsroller/87eed7ea339988844fc2 to your computer and use it in GitHub Desktop.
Save opsroller/87eed7ea339988844fc2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map_search {
left: 680px;
top: 300px;
position: absolute;
}
#code_mirror {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<google-map-search id="google_map_search"></google-map-search>
<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>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment