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
- Veja no arquivo CHANGELOG
Esta é uma versão em desenvolvimento. (c)2018-2022 Estúdio Digital Bocca