mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For TriStateCheckbox
This commit is contained in:
parent
d7c9a3937a
commit
f46d5e3154
3 changed files with 110 additions and 52 deletions
|
@ -138,6 +138,11 @@ export interface TriStateCheckboxProps {
|
|||
* @type {TriStateCheckboxPassThroughOptions}
|
||||
*/
|
||||
pt?: TriStateCheckboxPassThroughOptions;
|
||||
/**
|
||||
* When enabled, it removes component related styles in the core.
|
||||
* @defaultValue false
|
||||
*/
|
||||
unstyled?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -147,15 +152,30 @@ export interface TriStateCheckboxSlots {
|
|||
/**
|
||||
* Custom check icon template.
|
||||
*/
|
||||
checkicon(): VNode[];
|
||||
checkicon(scope: {
|
||||
/**
|
||||
* Style class of the icon.
|
||||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom uncheck icon template.
|
||||
*/
|
||||
uncheckicon(): VNode[];
|
||||
uncheckicon(scope: {
|
||||
/**
|
||||
* Style class of the icon.
|
||||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom nullable icon template.
|
||||
*/
|
||||
nullableicon(): VNode[];
|
||||
nullableicon(scope: {
|
||||
/**
|
||||
* Style class of the icon.
|
||||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue