1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 * `cr-toggle-button` provides a switch the user can toggle on or off by
8 * tapping or by dragging. Wraps a `paper-toggle-button`.
12 * <cr-toggle-button></cr-toggle-button>
14 * @element cr-toggle-button
19 * Gets or sets the state. `true` is checked and `false` is unchecked.
31 * If true, the toggle button is disabled.
44 this.$.events.forward(this.$.button, ['change']);