Skip to content

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

Open
azaslavsky wants to merge 1 commit intochrisbateman:masterfrom
azaslavsky:master
Open

feat: added a new “window” property, so that Impetus can be applied to child iframes#32
azaslavsky wants to merge 1 commit intochrisbateman:masterfrom
azaslavsky:master

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