Media List Selection

<sw-media-list-selection>

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

Imports

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

Mixins

  • notification

Twig blocks

  • sw_media_list_selection_upload
  • sw_media_list_selection_grid_items
  • sw_media_list_selection_grid
  • sw_media_list_selection