Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

25 linhas
561 B

  1. import $ from 'jquery';
  2. class IHKPrintShare {
  3. constructor(wrapper) {
  4. this.wrapper = wrapper;
  5. this.initBookmarks();
  6. }
  7. initBookmarks() {
  8. this.bookmarks = this.wrapper.find('.bookmarks');
  9. this.wrapper.find('.share-mail').on('click', (e) => {
  10. e.preventDefault();
  11. this.bookmarks.addClass('show-bookmarks');
  12. })
  13. }
  14. }
  15. export default IHKPrintShare;
  16. $('body').on('ihk-init dynamic-component-loaded gfi-dynamic-init', function () {
  17. $('.print-share:not(.initiated)').each(function () {
  18. new IHKPrintShare($(this));
  19. });
  20. });