dat.gui/elements/gui-panel/gui-panel.html
George Michael Brower 1dca89383b controller-option
2014-09-07 16:18:36 -04:00

31 lines
711 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="gui-panel"
attributes="docked autoplace open">
<template>
<link rel="stylesheet" href="gui-panel.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="gui-panel.js"></script>
</polymer-element>