Skip to content

Instantly share code, notes, and snippets.

@sabith-mk
Created August 14, 2014 16:25
Show Gist options
  • Save sabith-mk/f46a4c0f5022f1547677 to your computer and use it in GitHub Desktop.
Save sabith-mk/f46a4c0f5022f1547677 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#div {
left: 730px;
top: 320px;
position: absolute;
}
#app {
left: -10px;
top: -30px;
position: absolute;
}
</style>
<div id="div">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<topeka-app id="app" categories="[]" fit connected vertical layout></topeka-app>
</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