UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

18 lines (15 loc) 448 B
interface InputSwitchProps { modelValue?: boolean; class?: string; style?: any; trueValue?: any; falseValue?: any; } declare class InputSwitch { $props: InputSwitchProps; $emit(eventName: 'update:modelValue', value: boolean): this; $emit(eventName: 'click', event: Event): this; $emit(eventName: 'change', event: Event): this; $emit(eventName: 'input', value: boolean): this; } export default InputSwitch;