Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Rx.DOM.load() not triggered on <iframe> element #124

Open
martinsik opened this issue Sep 29, 2016 · 0 comments
Open

Rx.DOM.load() not triggered on <iframe> element #124

martinsik opened this issue Sep 29, 2016 · 0 comments

Comments

@martinsik
Copy link

I made this little demo on jsfiddle: https://jsfiddle.net/usualcarrot/4tfLm050/3/
I seems like the load is never called:

<iframe id="my-iframe" src="https://httpbin.org/get?1"></iframe>
var iframe = document.querySelector('#my-iframe');

Rx.DOM.load(iframe).subscribe(function() {
    console.log('iframe ready');
});

I can see in Chrome's Developer Tools that the event listener is created but it's never called. Am I just doing it wrong?

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

No branches or pull requests

1 participant