freeCodeCamp / freeCodeCamp/devdocs
API JSON messaging
Abierto
feature
- Lenguaje dominante
- Ruby
- Estrellas
- 39.5k
- Forks
- 2.6k
- Merge medio
- 4 d 32 min
- PR fusionados (30 d)
- 13
Descripción
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":
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.