dat.gui/elements/controller-boolean/controller-boolean.html

18 lines
498 B
HTML
Raw Normal View History

2014-08-23 07:05:22 +00:00
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../controller-base/controller-base.html">
<script src="controller-boolean.js"></script>
2014-08-24 06:03:17 +00:00
<polymer-element name="controller-boolean" extends="controller-base">
2014-08-23 07:05:22 +00:00
<template>
<link rel="stylesheet" href="controller-boolean.css">
2014-08-23 23:27:00 +00:00
<label for="input" id="container" horizontal layout center>
2014-08-23 07:05:22 +00:00
<input id="input" type="checkbox" checked?="{{ value }}" on-change="{{ change }}">
</label>
</template>
</polymer-element>