Skip to content

ratchagarn/jedQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jedQuery

*** UNDER CONSTRUCTION ***

Lightweight javascript library with syntax compatible with jQuery and ready for replace with jQuery anytime. If you know how to use jQuery, then you know how to use jedQuery :) (This is my project for learning native javascript and how jQuery work)

Current version 0.1.6

Browser compatible

  • IE 8+

Change log

0.1.6

  • Add new method is (Support only string selector and element)

0.1.5

  • Add new method eq
  • Add new method prepend
  • Add new method append
  • Add new method replaceWith
  • Add new method before
  • Add new method after
  • Add new method css

0.1.4

  • Add new utility noop
  • Add new utility contains
  • Add new method each
  • Add new method clone

0.1.3

  • Add new method prev
  • Add new method next
  • Add new method siblings
  • Add new method children
  • Add new method position
  • Add new method offset

0.1.2

  • Add new method closest (support only id or class selector)

0.1.1

  • Add new method parent

0.1.0

  • init project

Note

  • Not support multi selector
  • Not support context selector

Avaliable method

Elements

  • addClass
  • removeClass
  • toggleClass
  • attr
  • hide
  • show
  • remove
  • empty
  • text
  • html
  • prepend
  • append
  • replaceWith
  • before
  • after
  • find
  • is (Support only string selector and element)
  • parent
  • children
  • prev
  • next
  • closest (support only id or class selector)
  • siblings
  • each
  • eq
  • clone
  • position
  • offset
  • css

Events

  • on
  • off

Utils

  • noop
  • extend
  • map
  • contains

About

Lightweight javascript library with syntax compatible with jQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published