Upload Listener

<sw-upload-listener>

ready
component that listens to mutations of the upload store and transforms them back into the vue.js event system.

Usage

Loading...
<sw-upload-listener @sw-uploads-added="..."></sw-upload-listener>

Component properties

Property name Type Default
uploadTag String
autoUpload Boolean false

Methods

Method name Parameters
createdComponent No parameters
destroyedComponent No parameters
convertStoreEventToVueEvent
handleError payload
updateSuccessNotification uploadTag payload
showErrorNotification payload
syncEntitiesAndRunUploads No parameters

Imports

  • src/core/service/api/media.api.service

Watcher

  • uploadTag

Mixins

  • notification

Inject

  • repositoryFactory
  • mediaService