freeCodeCamp / freeCodeCamp/devdocs
API JSON messaging
Đang mở
feature
- Ngôn ngữ chính
- Ruby
- Star
- 39.5k
- Fork
- 2.6k
- Merge trung bình
- 4 ngày 32 phút
- Pull request đã merge (30 ngày)
- 13
Mô tả
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":
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.