freeCodeCamp / freeCodeCamp/devdocs

API JSON messaging

Aperta
#1,831 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature
Lingua principale
Ruby
Stelle
39.5k
Fork
2.6k
Merge medio
4g 32m
PR unite (30g)
13

Descrizione

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":
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.