mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Refactor #5426 - For FileUpload
This commit is contained in:
parent
06a6d16337
commit
e879d1d2c8
5 changed files with 40 additions and 49 deletions
20
components/lib/fileupload/FileUpload.d.ts
vendored
20
components/lib/fileupload/FileUpload.d.ts
vendored
|
@ -208,16 +208,9 @@ export interface FileUploadPassThroughOptions {
|
|||
buttonbar?: FileUploadPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the choose button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
chooseButton?: FileUploadPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the choose icon's DOM element.
|
||||
*/
|
||||
chooseIcon?: FileUploadPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the choose button label's DOM element.
|
||||
*/
|
||||
chooseButtonLabel?: FileUploadPassThroughOptionType;
|
||||
chooseButton?: ButtonPassThroughOptions<FileUploadPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the upload button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
|
@ -280,13 +273,10 @@ export interface FileUploadPassThroughOptions {
|
|||
*/
|
||||
empty?: FileUploadPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the label's DOM element.
|
||||
* Used to pass attributes to the basic mode's button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
label?: FileUploadPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the upload icon's DOM element.
|
||||
*/
|
||||
uploadIcon?: FileUploadPassThroughOptionType;
|
||||
button?: ButtonPassThroughOptions<FileUploadPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to manage all lifecycle hooks.
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue