primevue-mirror/components/lib/inputswitch/InputSwitch.d.ts

68 lines
1.8 KiB
TypeScript
Executable File

/**
*
* InputSwitch is used to select a boolean value.
*
* [Live Demo](https://www.primevue.org/toggleswitch/)
*
* @module inputswitch
*
*/
import * as ToggleSwitch from '../toggleswitch';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
/**
* Custom passthrough(pt) option method.
*/
export interface InputSwitchPassThroughMethodOptions extends ToggleSwitch.ToggleSwitchPassThroughMethodOptions {}
/**
* Custom passthrough(pt) options.
* @see {@link InputSwitchProps.pt}
*/
export interface InputSwitchPassThroughOptions extends ToggleSwitch.ToggleSwitchPassThroughOptions {}
/**
* Custom passthrough attributes for each DOM elements
*/
export interface InputSwitchPassThroughAttributes extends ToggleSwitch.ToggleSwitchPassThroughAttributes {}
/**
* Defines valid properties in InputSwitch component.
*/
export interface InputSwitchProps extends ToggleSwitch.ToggleSwitchProps {}
/**
* Defines current options in InputSwitch component.
*/
export interface InputSwitchContext extends ToggleSwitch.ToggleSwitchContext {}
export interface InputSwitchSlots extends ToggleSwitch.ToggleSwitchSlots {}
/**
* Defines valid emits in InputSwitch component.
*/
export interface InputSwitchEmits extends ToggleSwitch.ToggleSwitchEmits {}
/**
* @deprecated Deprecated since v4. Use ToggleSwitch component instead.
*
* **PrimeVue - InputSwitch**
*
* _InputSwitch is used to select a boolean value._
*
* [Live Demo](https://www.primevue.org/toggleswitch/)
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
*
* @group Component
*
*/
declare class InputSwitch extends ClassComponent<InputSwitchProps, InputSwitchSlots, InputSwitchEmits> {}
declare module 'vue' {
export interface GlobalComponents {
InputSwitch: GlobalComponentConstructor<InputSwitch>;
}
}
export default InputSwitch;