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

21 lines
513 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>
<polymer-element
name="controller-boolean"
extends="controller-base"
>
<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>