Media List Selection V2

<sw-media-list-selection-v2>

n/a

Component properties

Property name Type Default
entity Object
entityMediaItems Array
uploadTag String
defaultFolderName String

Methods

Method name Parameters
mountedComponent No parameters
updateColumnCount No parameters
createPlaceholders count
onUploadsAdded
onMediaUploadButtonOpenSidebar No parameters
successfulUpload
onUploadFailed uploadTask
removeItem mediaItem index

Imports

  • ./sw-media-list-selection-v2.html.twig
  • ./sw-media-list-selection-v2.scss

Mixins

  • notification

Inject

  • repositoryFactory
  • mediaService

Twig blocks

  • sw_media_list_selection_v2_upload
  • sw_media_list_selection_v2_grid_items
  • sw_media_list_selection_v2_grid
  • sw_media_list_selection_v2