mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #4289 - Improve usePassThrough
method
This commit is contained in:
parent
e4651a9d0c
commit
4ecc86838f
100 changed files with 317 additions and 258 deletions
4
components/lib/inputswitch/InputSwitch.d.ts
vendored
4
components/lib/inputswitch/InputSwitch.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { InputHTMLAttributes } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { ClassComponent, GlobalComponentConstructor, PTOptions } from '../ts-helpers';
|
||||
|
||||
export declare type InputSwitchPassThroughOptionType = InputSwitchPassThroughAttributes | ((options: InputSwitchPassThroughMethodOptions) => InputSwitchPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -115,7 +115,7 @@ export interface InputSwitchProps {
|
|||
* Used to pass attributes to DOM elements inside the component.
|
||||
* @type {InputSwitchPassThroughOptions}
|
||||
*/
|
||||
pt?: InputSwitchPassThroughOptions;
|
||||
pt?: PTOptions<InputSwitchPassThroughOptions>;
|
||||
/**
|
||||
* When enabled, it removes component related styles in the core.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue