You are here

webform_share.libraries.yml in Webform 8.5

Same filename and directory in other branches
  1. 6.x modules/webform_share/webform_share.libraries.yml
modules/webform_share/webform_share.libraries.yml

File

modules/webform_share/webform_share.libraries.yml
View source
  1. webform_share.admin:
  2. version: VERSION
  3. css:
  4. theme:
  5. css/webform_share.admin.css: {}
  6. js:
  7. js/webform_share.admin.js: {}
  8. dependencies:
  9. - core/jquery
  10. - core/drupal.announce
  11. webform_share.page:
  12. version: VERSION
  13. css:
  14. theme:
  15. css/webform_share.page.css: {}
  16. # Below is every version of the iFrame Resizer used by the webform share module.
  17. #
  18. # Including multiple versions of the iFrame Resizer ensures that any website
  19. # embedding an iframe with specific iFrame Resizer version will be able to
  20. # always access the older versions of the webform share page
  21. # (/webform/{webform}/share/{library}/{version}).
  22. #
  23. # When updating the iframe-resizer, please make sure to update
  24. # the below constants.
  25. #
  26. # @see \Drupal\webform_share\Element\WebformShareIframe::LIBRARY
  27. # @see \Drupal\webform_share\Element\WebformShareIframe::VERSION
  28. libraries.iframe-resizer.4.2.10:
  29. # Inserting the iframe-resizer in the page's <head> provides the best
  30. # UX because it allows the iframe to resize as the form is loaded.
  31. header: true
  32. remote: https://github.com/davidjbradshaw/iframe-resizer
  33. version: '4.2.10'
  34. license:
  35. name: MIT
  36. url: http://opensource.org/licenses/mit-license.php
  37. gpl-compatible: true
  38. js:
  39. '//cdn.jsdelivr.net/gh/davidjbradshaw/iframe-resizer@v4.2.10/js/iframeResizer.contentWindow.min.js': { type: external, minified: true }