Options to customize the library

Hierarchy

  • Options

Properties

accept?: string

Type of files to accept in your input

Default

'*'

images?: Images

Configurable images for the library

maxFileCount?: number

Set a maximum number of files you'd like the component to deal with. Must be > 0 if set. By default there is no limit.

Default

0

multiple?: boolean

Set to true if you want to allow the user to selected multiple images. Will use grid view in the image preview if set.

Default

false

presetFiles?: PresetFiles

Provide an array of image paths to be automatically uploaded and displayed on page load (can be images hosted on server or URLs)

Default

[]

showDeleteButtonOnImages?: boolean

Show a delete button on images in the grid

Default

true

text?: Text

Configurable text for the library

Generated using TypeDoc