1.6.9 • Published 9 months ago

@maggioli-design-system/mds-input-upload v1.6.9

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

mds-input-upload

Properties

PropertyAttributeDescriptionTypeDefault
acceptacceptDefines the file types the file input should acceptstring''
maxFileSizemax-file-sizeSpecifies the max size of a single file that can be uploaded in MBnumber20
maxFilesmax-filesSpecifies the max number of files that can be uploadednumber1
sortsortSpecifies if the component should show a sort widget by status or date of upload, if not defined let user choose"date" \| "status" \| undefinedundefined

Events

EventDescriptionType
mdsInputUploadChangeEmits when the component files are changedCustomEvent<FileList \| null>

Methods

getFiles() => Promise<FileList | null>

Returns a promise of files uploaded as Filelist or null if there's none

Returns

Type: Promise<FileList | null>

getFilesError() => Promise<FileError[] | null>

Returns a promise of files error or null if there's none

Returns

Type: Promise<FileError[] | null>

Dependencies

Depends on

Graph

graph TD;
  mds-input-upload --> mds-text
  mds-input-upload --> mds-button
  mds-input-upload --> mds-progress
  mds-input-upload --> mds-tab
  mds-input-upload --> mds-tab-item
  mds-input-upload --> mds-file-preview
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  mds-tab-item --> mds-button
  mds-file-preview --> mds-button
  mds-file-preview --> mds-img
  mds-file-preview --> mds-icon
  mds-file-preview --> mds-text
  mds-file-preview --> mds-badge
  mds-img --> mds-icon
  mds-img --> mds-text
  mds-img --> mds-button
  mds-badge --> mds-text
  style mds-input-upload fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

1.6.9

9 months ago

1.6.8

9 months ago

1.6.7

9 months ago

1.6.6

9 months ago

1.6.5

10 months ago

1.6.4

10 months ago

1.6.3

10 months ago

1.6.2

10 months ago

1.6.1

10 months ago

1.6.0

10 months ago

1.5.0

1 year ago

1.4.9

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.6

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago