dat.gui/elements/gui-panel/gui-panel.html

25 lines
607 B
HTML
Raw Normal View History

2014-08-23 07:05:22 +00:00
<link rel="import" href="../../../polymer/polymer.html">
2014-08-21 17:20:06 +00:00
<link rel="import" href="../gui-row/gui-row.html">
2014-08-15 02:21:45 +00:00
2014-08-15 16:32:49 +00:00
<polymer-element
name="gui-panel"
2014-08-23 07:05:22 +00:00
attributes="docked autoplace open">
2014-08-15 02:21:45 +00:00
<template>
2014-08-15 16:32:49 +00:00
<link rel="stylesheet" href="gui-panel.css">
2014-08-15 02:21:45 +00:00
2014-08-23 07:05:22 +00:00
<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>
2014-08-15 02:21:45 +00:00
</div>
</template>
</div>
2014-08-15 16:32:49 +00:00
<script src="gui-panel.js"></script>
2014-08-15 02:21:45 +00:00
</polymer-element>