Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selective listeners #290

Closed
yumyo opened this issue Nov 10, 2015 · 5 comments
Closed

selective listeners #290

yumyo opened this issue Nov 10, 2015 · 5 comments

Comments

@yumyo
Copy link

yumyo commented Nov 10, 2015

Hello,
I'm not sure if I'm missing some way to achieve that but it will be very userful to have the ability to selectively enable/disable the various resize listener, especially click and dom changes in the iframe content.

@davidjbradshaw
Copy link
Owner

Yep something on the list for the future.

In the meantime setting interval to a negative number disables the DOM observer. Pick a large negative value to stop the interval check running as well.

@yumyo
Copy link
Author

yumyo commented Nov 11, 2015

Thank you David. In the meanwhile, to achive it manually, it is just a matter of "selectively" commenting the manageTriggerEvent lines under the manageEventListeners function inside iframeResizer.contentWindow.js ?

@davidjbradshaw
Copy link
Owner

Yep you can do that.

@yumyo
Copy link
Author

yumyo commented Nov 11, 2015

Great, thanks.

@davidjbradshaw
Copy link
Owner

These will be removed in V5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants