UNPKG

@material/web

Version:
25 lines (24 loc) 584 B
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Switch } from './internal/switch.js'; declare global { interface HTMLElementTagNameMap { 'md-switch': MdSwitch; } } /** * @summary Switches toggle the state of a single item on or off. * * @description * There's one type of switch in Material. Use this selection control when the * user needs to toggle a single item on or off. * * @final * @suppress {visibility} */ export declare class MdSwitch extends Switch { static styles: import("lit").CSSResult[]; }