Media Compact Upload V2

<sw-media-compact-upload-v2> extends <sw-media-upload-v2>

Component properties

Property name Type Default
allowMultiSelect Boolean false
variant String regular
source [ {}, {} ]

Methods

Method name Parameters
onModalClosed selection

Imports

  • ./sw-media-compact-upload-v2.html.twig
  • ./sw-media-compact-upload-v2.scss

Twig blocks

  • sw_media_upload_v2_compact_label
  • sw_media_upload_v2_compact_button_file_upload
  • sw_media_upload_v2_compact_button_context_menu
  • sw_media_upload_v2_compact_url_form
  • sw_media_upload_v2_compact
  • sw_media_upload_v2_regular_header
  • sw_media_upload_v2_regular_preview_file
  • sw_media_upload_v2_regular_preview_fallback
  • sw_media_upload_v2_preview
  • sw_media_upload_v2_regular_actions_url
  • sw_media_upload_v2_regular_upload_button
  • sw_media_upload_v2_regular_media_sidebar_button
  • sw_media_upload_v2_regular_actions_add
  • sw_media_upload_v2_actions
  • sw_media_upload_v2_regular_drop_zone
  • sw_media_upload_v2_regular
  • sw_media_upload_v2_file_input
  • sw_media_upload_v2