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

31 lines
705 B
HTML
Raw Normal View History

2014-08-27 00:01:15 +00:00
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../gui-row/gui-row.html">
2014-09-07 20:18:36 +00:00
<link rel="import" href="../gui-button/gui-button.html">
2014-08-27 00:01:15 +00:00
<polymer-element
2014-09-09 19:53:30 +00:00
name="dat-gui"
2014-08-27 00:01:15 +00:00
attributes="docked autoplace open">
<template>
2014-09-09 19:53:30 +00:00
<link rel="stylesheet" href="dat-gui.css">
2014-08-27 00:01:15 +00:00
2014-09-07 20:18:36 +00:00
<div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }} touch-{{ touch }}" >
<div id="panel">
2014-08-27 00:01:15 +00:00
2014-09-07 20:18:36 +00:00
<div id="controllers">
<content></content>
</div>
<gui-button hidden?="{{ !autoPlace }}" on-tap="{{ toggleOpen }}" open="{{ open }}"></gui-button>
2014-08-27 00:01:15 +00:00
</div>
2014-09-07 20:18:36 +00:00
2014-08-27 00:01:15 +00:00
</div>
</template>
2014-09-09 19:53:30 +00:00
<script src="dat-gui.js"></script>
2014-08-27 00:01:15 +00:00
</polymer-element>