dat.gui/elements/dat-gui/dat-gui.html
George Michael Brower bc0cb2bdb9 remember first pass
2014-09-15 23:44:07 -04:00

36 lines
794 B
HTML

<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../gui-row/gui-row.html">
<link rel="import" href="../gui-button/gui-button.html">
<polymer-element
name="dat-gui"
attributes="docked autoplace open localStorage">
<template>
<link rel="stylesheet" href="dat-gui.css">
<div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }} touch-{{ touch }}" >
<div id="dockedContent"></div>
<div id="panel">
<div id="controllers">
<content></content>
</div>
<gui-button hidden?="{{ !autoPlace }}" on-tap="{{ toggleOpen }}" open="{{ open }}"></gui-button>
</div>
</div>
</template>
<script src="static.js"></script>
<script src="dat-gui.js"></script>
</polymer-element>