Skip to content

Instantly share code, notes, and snippets.

@aliwaseem
Last active August 29, 2015 14:11
Show Gist options
  • Save aliwaseem/979818168db9d7cadbd4 to your computer and use it in GitHub Desktop.
Save aliwaseem/979818168db9d7cadbd4 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-quizzes.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;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 330px;
top: 170px;
position: absolute;
}
#topeka_datasource {
left: 750px;
top: 300px;
position: absolute;
}
#topeka_datasource1 {
left: 590px;
top: 270px;
position: absolute;
}
</style>
<topeka-quizzes answered id="topeka_quizzes" category="{}" vertical layout></topeka-quizzes>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource1" hidden></topeka-datasource>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment