dat.gui/elements/controller-boolean/controller-boolean.html
2014-08-26 17:01:15 -07:00

18 lines
498 B
HTML

<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">
<label for="input" id="container" horizontal layout center>
<input id="input" type="checkbox" checked?="{{ value }}" on-change="{{ change }}">
</label>
</template>
</polymer-element>