JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q38447F
  • License MIT

Um seletor de elementos livre de gorduras.

Package Exports

  • edb-dom

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (edb-dom) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Estúdio Digital Bocca

edb-dom

v0.6.0

Um seletor de elementos sem gorduras.

JavaScript Style Guide

JavaScript Style Guide Maintainability EDB NPMv NPMlicense NPMdownloads GHv DVdep DVdev PPi PPp BPp BPp

PROPOSTA

Usar uma sintaxe de seletores curta parecida com o jQuery sem as gorduras de uma biblioteca completa.

EXEMPLO DE USO

  • Adicione como uma dependência:
npm install --save edb-dom
  • Importe nos arquivos que precisar:
import $ from 'edb-dom'
  • Substitua:
// FORMATO ANTIGO. LONGO, CHATO E CANSATIVO:
document.querySelector('#idDoMeuElemento')

// OU AINDA:
document.getElementByID('idDoMeuElemento')

// EDB DOM
$('#idDoMeuElemento')

LOG DE MUDANÇAS

Esta é uma versão em desenvolvimento. (c)2018-2019 Estúdio Digital Bocca