Media Compact Upload

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

Component properties

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

Methods

Method name Parameters
onModalClosed selection

Imports

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

Twig blocks

  • sw_media_upload_compact_label
  • sw_media_upload_compact_button_file_upload
  • sw_media_upload_compact_button_context_menu
  • sw_media_upload_compact_url_form
  • sw_media_upload_compact
  • sw_media_upload_regular_header
  • sw_media_upload_regular_preview_file
  • sw_media_upload_regular_preview_fallback
  • sw_media_upload_preview
  • sw_media_upload_regular_actions_url
  • sw_media_upload_regular_upload_button
  • sw_media_upload_regular_media_sidebar_button
  • sw_media_upload_regular_actions_add
  • sw_media_upload_actions
  • sw_media_upload_regular_drop_zone
  • sw_media_upload_regular
  • sw_media_upload_file_input
  • sw_media_upload