Text Preview

<sw-text-preview>

n/a

Component properties

Property name Type Default
text String
maximumLength Number
modalTitle String
maximumNewLines Number 0

Methods

Method name Parameters
closeModal No parameters
openModal No parameters

Imports

  • ./sw-text-preview.scss
  • ./sw-text-preview.html.twig

Twig blocks

  • sw_text_preview_shortened_content
  • sw_text_preview_expand_button
  • sw_text_preview_modal_content
  • sw_text_preview_modal_footer
  • sw_text_preview_modal
  • sw_text_preview