mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.35k stars 1.15k forks source link

waves fix #248

Closed zacny closed 4 years ago

zacny commented 5 years ago

This fix enable attach waves effect to elements, that were dynamically created in new window. A simple example:

var w = window.open();
var pageContent = ...
$(w.document.body).append(pageContent);
var buttons = pageContent.find('.btn:not(.btn-flat), .btn-floating');
Waves.attach(buttons, ['waves-light']);
Waves.init({}, w);

What do you think about this fix?

smolenski-mikolaj commented 4 years ago

@cla-bot check

cla-bot[bot] commented 4 years ago

Thank you for your pull request and welcome to our community! We require contributors to sign a Contributor License Agreement and we don't seem to have CLAs on file for these contributors to the Pull Request: (@zacny). In order for your PR to be reviewed and merged, please sign our CLA first.

If there are any questions, please don't hesitate to get in touch with our Support team.

cla-bot[bot] commented 4 years ago

The cla-bot has been summoned, and re-checked this pull request!

mateuszlubianka1993 commented 4 years ago

@cla-bot check

cla-bot[bot] commented 4 years ago

Thank you for your pull request and welcome to our community! We require contributors to sign a Contributor License Agreement and we don't seem to have CLAs on file for these contributors to the Pull Request: (@zacny). In order for your PR to be reviewed and merged, please sign our CLA first.

If there are any questions, please don't hesitate to get in touch with our Support team.

cla-bot[bot] commented 4 years ago

The cla-bot has been summoned, and re-checked this pull request!