Does Mousetrap support catch event in iframe?
See original GitHub issueI have a rich text editor in my app, the editor is implemented as a iframe
, i try to catch event in it but seem no effect(i added the “mousetrap” as class).
<iframe class="ke-edit-iframe" hidefocus="true" frameborder="0" style="width: 100%; height: 390px;">
#document
<html>
<head><meta charset="utf-8"><title></title>
<style>
</style>
</head>
<body class="ke-content mousetrap">the content....</body>
</html>
</iframe>
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Detect mousemove when over an iframe? - Stack Overflow
Iframes capture mouse events, but you can transfer the events to the parent scope if the cross-domain policy is satisfied. Here's how:
Read more >How to detect mousemove event over iframe element
Demonstrates solution for a problem with handling mousemove event over iframe element.
Read more >IndyMojo Presents: Altered Thurzdaze w/ TRUTH | The Mousetrap ...
Truth has built this performance presence through DJ support from Mala, Skream, Youngsta, Hatcha and N-Type, to name a few, giving their music...
Read more >Can FullStory capture content that is presented in iframes?
Yes, FullStory can work seamlessly with most iframes ! Depending on your scenario, capturing iframe content may require some additional configuration.
Read more >Mousetrap-2 - Little Village
Mousetrap -2. Posted on Aug 10, 2019 by Genevieve Trainor. Post navigation. Giving Tree's new owners kick off their first season with 'The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My fork, https://www.npmjs.org/package/combokeys, has this feature:
And then your
combokeys
instance is bound to that element.+1 on #235 . Thank you, @Craga89 .