Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to customize the library

Hierarchy

  • Options

Index

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