Skip to content

Instantly share code, notes, and snippets.

@hhietanen
Created August 15, 2014 09:48
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 hhietanen/044b4b0c2d7333e152cd to your computer and use it in GitHub Desktop.
Save hhietanen/044b4b0c2d7333e152cd to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 0px;
top: -10px;
position: absolute;
}
#app {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#div1 {
height: 100%;
width: 100%;
overflow: hidden;
left: 1720px;
top: 660px;
}
</style>
<div id="div">
<topeka-app id="app" categories="[]" fit connected vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
</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