dat.gui/elements/gui-panel/gui-panel.html
George Michael Brower 327d038f34 no message
2014-08-23 23:03:17 -07:00

32 lines
708 B
HTML

<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../gui-row/gui-row.html">
<polymer-element
name="gui-panel"
attributes="docked autoplace open">
<template>
<link rel="stylesheet" href="gui-panel.css">
<div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }}">
<div id="controllers">
<content></content>
</div>
<div id="closeButton" on-tap="{{ tapClose }}" hidden?="{{ docked }}">{{ open ? 'Close' : 'Open' }} Controls</div>
<div id="closeButtonDocked" on-tap="{{ tapClose }}" hidden?="{{ !docked }}"></div>
</div>
</template>
</div>
<script src="gui-panel.js"></script>
</polymer-element>