dat.gui/elements/dat-gui/dat-gui.html
George Michael Brower ca14623507 controller- =
2014-09-09 15:53:30 -04:00

31 lines
705 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="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>