dat.gui/elements/dat-gui/dat-gui.html
George Michael Brower f88619fa40 no message
2014-09-15 18:39:43 -04:00

38 lines
762 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">
<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="dat-gui.js"></script>
</polymer-element>