freeCodeCamp / freeCodeCamp/devdocs
API JSON messaging
未关闭
feature
- 主要语言
- Ruby
- 星标
- 39.5k
- 派生
- 2.6k
- 平均合并
- 4 天 32 分钟
- 30 天内合并 PR
- 13
描述
I load devdocs in an iframe
## Example
2 function would look like this....
```js
window.parent.postMessage({message: { event:"css", type: "attribute",list:{} ,"*");
```
I post a JSON msg to you and you send BACK JSON to what i need or find and change what i need in the viewer.
```js
window.addEventListener('message', function(event) {
switch (event.data.message.event) {
case "CSS":
```
贡献指南
评估
这个 Issue 还没有评估数据。