freeCodeCamp / freeCodeCamp/devdocs

API JSON messaging

Đang mở
#1,831 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.