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

feat: added a new “window” property, so that Impetus can be applied to child iframes #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azaslavsky
Copy link

If I create a child <iframe> on my page, and want to use impetus in that iframe, that is currently not possible. This commit adds support for the optional "window" property, which allows me to supply a different window to bind impetus to (ex: window: myIframe.contentWindw). I also moved the safari bug fix inside of the init() function, so that each window that impetus is used with can have this bugfix applied.

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

Successfully merging this pull request may close these issues.

1 participant