JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q38438F
  • 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.2.0

Um seletor de elementos sem gorduras.

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

Mudanças na v0.2.0

  • Automatizado o controle de versão.

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