mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
31 lines
711 B
HTML
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> |