To bubble up event to parent compoent
this.dispatch(new CustomEvent('name-of-event-without-on'), {detail: {json: 'object'}})
| { | |
| "username" : "juan", | |
| "email" : "[email protected]", | |
| "lastname" : "Pérez", | |
| "name" : "Juan", | |
| "profilePicture" : "yo.jpg", | |
| "scope" : "admin", | |
| "categories" : [ | |
| "health", | |
| "education", |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Vientos</title> | |
| <link rel="stylesheet" href="assets/css/vientos-frontend.min.css"> |
| <div id="collaborateSec" data-all="h-100 w-100"> | |
| <div id="filterSec" data-all="bt-0 w-100 h-100 ps-a" data-xssm="hdn"> | |
| <div id="filterBtns" data-all="h-50-px" data-xssm="hdn w-100 ps-a bt-0" data-mdlgxl="w-50 ps-a tp-50-px"> | |
| <div id="filterLabel" data-all="d-in" data-xssmmd="hdn" data-lgxl="w-30" data>Filtra proyectos por: </div> | |
| <div id="catsBtn" data-all="d-in" data-md="w-25" data-lgxl="w-20"> | |
| <a href="#">Categorías</a> | |
| </div> | |
| <div id="howBtn" data-all="d-in" data-md="w-25" data-lgxl="w-20"> | |
| <a href="">¿Cómo colaborar?</a> | |
| </div> |
| export const FETCH_PROJECTS_REQUESTED = 'FETCH_PROJECTS_REQUESTED' | |
| export const FETCH_PROJECTS_SUCCEEDED = 'FETCH_PROJECTS_SUCCEEDED' | |
| export const FETCH_PROJECTS_FAILED = 'FETCH_PROJECTS_FAILED' |
| proximo paso: | |
| formar una cooperativa | |
| prioridad: | |
| - comunicar los siguientes pasos | |
| - plataforma para cooperativa online |
| <!-- | |
| Polymer icon set generated by IcoMoon.io | |
| @element iron-iconset-svg | |
| --> | |
| <link rel="import" href="../bower_components/iron-icon/iron-icon.html"> | |
| <link rel="import" href="../bower_components/iron-iconset-svg/iron-iconset-svg.html"> | |
| <iron-iconset-svg name="icomoon" size="1024"> | |
| <svg> | |
| <defs> | |
| <g id="add"> |
| ## OS | |
| ### Linux Mint MATE | |
| * https://www.linuxmint.com/ | |
| ## dev tools | |
| ### oh-my-zsh |
To bubble up event to parent compoent
this.dispatch(new CustomEvent('name-of-event-without-on'), {detail: {json: 'object'}})
| const fs = require('fs') | |
| const statesGeojsons = JSON.parse(fs.readFileSync('states.json', 'utf8')) | |
| const municipalitiesGeojsons = JSON.parse(fs.readFileSync('municipalities.json', 'utf8')) | |
| const MongoClient = require('mongodb').MongoClient | |
| const cuid = require('cuid') | |
| const turf = require('turf') | |
| const centroid = require('@turf/centroid') | |
| const turfBbox = require('@turf/bbox') | |
| const URL_PREFIX = 'http://localhost:3000' | |
| let codesMap = {} |