mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
17
components/inputswitch/InputSwitch.d.ts
vendored
17
components/inputswitch/InputSwitch.d.ts
vendored
|
@ -40,8 +40,7 @@ export interface InputSwitchProps {
|
|||
'aria-label'?: string | undefined;
|
||||
}
|
||||
|
||||
export interface InputSwitchSlots {
|
||||
}
|
||||
export interface InputSwitchSlots {}
|
||||
|
||||
export declare type InputSwitchEmits = {
|
||||
/**
|
||||
|
@ -53,24 +52,24 @@ export declare type InputSwitchEmits = {
|
|||
* Callback to invoke on click.
|
||||
* @param {Event} event - Browser event.
|
||||
*/
|
||||
'click': (event: Event) => void;
|
||||
click: (event: Event) => void;
|
||||
/**
|
||||
* Callback to invoke on value change.
|
||||
* @param {Event} event - Browser event.
|
||||
*/
|
||||
'change': (event: Event) => void;
|
||||
change: (event: Event) => void;
|
||||
/**
|
||||
* Callback to invoke on value change.
|
||||
* @param {boolean} value - New value.
|
||||
*/
|
||||
'input': (value: boolean) => void;
|
||||
}
|
||||
input: (value: boolean) => void;
|
||||
};
|
||||
|
||||
declare class InputSwitch extends ClassComponent<InputSwitchProps, InputSwitchSlots, InputSwitchEmits> { }
|
||||
declare class InputSwitch extends ClassComponent<InputSwitchProps, InputSwitchSlots, InputSwitchEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
InputSwitch: GlobalComponentConstructor<InputSwitch>
|
||||
InputSwitch: GlobalComponentConstructor<InputSwitch>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,7 +79,7 @@ declare module '@vue/runtime-core' {
|
|||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [InputSwitch](https://www.primefaces.org/primevue/showcase/#/inputswitch)
|
||||
* - [InputSwitch](https://www.primefaces.org/primevue/inputswitch)
|
||||
*
|
||||
*/
|
||||
export default InputSwitch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue