JSPM

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

Um seletor de elementos livre de gorduras.

Package Exports

  • edb-dom
  • edb-dom/src/index.js

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

edb-dom

Um seletor de elementos livre de gorduras.

(c)2018-2022 Estúdio Digital Bocca


edb-dom - README


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')

REGISTRO DE ALTERAÇÕES

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