Comments (5)
我的在iframe 上,进行client示例代码 的操作,在parents 进行 server的操作。。。遗憾落泪。。。一直都不行。。 页面中的iframe已经正常渲染了。但是通信不行。看了一堆源码, 没有找到你在哪里做的通信。 postmessage的方法都没看到你有调用。。 只看到有addeventListener 对“message“的监听
我们有很多地方都是使用的这个库,是能正常使用的。能贴一下代码吗?看看是哪里有问题
from postmessagejs.
不好意思,我确实使用错了 有点晕了。。 已经调整好了。 看源码比较多的方法和postmate 一样的用法。。 在npm上的API上说明上,更完善一点就更好了。。 感谢贡献
from postmessagejs.
不好意思,我确实使用错了 有点晕了。。 已经调整好了。 看源码比较多的方法和postmate 一样的用法。。 在npm上的API上说明上,更完善一点就更好了。。 感谢贡献
你好,3.1.2 版本我更新了说明文档,并增加了简化使用示例,希望能有帮助
from postmessagejs.
求问一个问题, 初始化成功,也能正常调用,一切通信都是正常的,但是,控制台中会首次 connect的时候会超时。。很迷茫。。但是通信是正常使用的。
我将我自己的所有通信事件,注释了,依旧会报这个错。。
from postmessagejs.
使用的是 aysnc的 语法糖,和示例一样的
from postmessagejs.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postmessagejs.