dat.gui/elements/dat-gui-boolean/dat-gui-boolean.html
George Michael Brower ca14623507 controller- =
2014-09-09 15:53:30 -04:00

24 lines
568 B
HTML

<link rel="import" href="../dat-gui-base/dat-gui-base.html">
<script src="dat-gui-boolean.js"></script>
<polymer-element name="dat-gui-boolean" extends="dat-gui-base">
<template>
<link rel="stylesheet" href="../shared/input.css">
<link rel="stylesheet" href="dat-gui-boolean.css">
<div id="container" horizontal layout center on-tap="{{ toggle }}" class="value-{{ value }}">
<div id="switch-track">
<div id="switch-knob"></div>
</div>
<!-- <div id="text" >{{ value ? 'true' : 'false' }}</div> -->
</div>
</template>
</polymer-element>