Modes of Operation

The Upload enables you to manage the files for upload that will be rendered by setting the Upload into its controlled or uncontrolled mode.

Controlled Mode

To enable the controlled mode of the files for upload:

  1. Set the files property.
  2. Subscribe to the following events for updates:
Example
View Source
Edit In Stackblitz  
Change Theme:

Uncontrolled Mode

To enable uncontrolled mode of the files for upload, set the initial list of files by using the defaultFiles property.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?