/QLib

The lightweight alternative to jQuery. But still as plugin supportive.

Primary LanguageJavaScriptMIT LicenseMIT

QLib

The lightweight alternative to jQuery. But more focused at plugins instead of having a large library. Aswell as jQuery 1 and 2 being slow and not up to date with most JS functions in the newer browsers.

QLib works basically like jQuery but has some tweaks.

No documentation yet. But it behaves quite like jQuery with some exceptions and other addons

List of functions added as of the latest version

Fully implemented:

// Static functions

  • Q.version
  • Q.ajax
  • Q.getJSON
  • Q.getFile
  • Q.isNumber
  • Q.isNode
  • Q.isPlainObj
  • Q.extend or Q.fn
  • Q.load
  • Q.ready
  • Q.each
  • Q.format

// Prototype functions

  • Q.fn.first
  • Q.fn.last
  • Q.fn.children
  • Q.fn.siblings
  • Q.fn.parent
  • Q.fn.parents
  • Q.fn.parentsUntil
  • Q.fn.eq
  • Q.fn.each
  • Q.fn.find
  • Q.fn.filter
  • Q.fn.trigger
  • Q.fn.focus
  • Q.fn.text
  • Q.fn.html
  • Q.fn.append
  • Q.fn.prepend
  • Q.fn.before
  • Q.fn.after
  • Q.fn.clear
  • Q.fn.val
  • Q.fn.remove
  • Q.fn.clone
  • Q.fn.show
  • Q.fn.hide
  • Q.fn.css
  • Q.fn.outerHeight
  • Q.fn.outerWidth
  • Q.fn.offset
  • Q.fn.position
  • Q.fn.attr
  • Q.fn.removeAttr
  • Q.fn.hasAttr
  • Q.fn.addClass
  • Q.fn.removeClass
  • Q.fn.hasClass
  • Q.fn.data
  • Q.fn.removeData
  • Q.fn.hasData

Partial implementation:

// Static functions

// Prototype functions

  • Q.fn.on
  • Q.fn.one
  • Q.fn.off

Planned implementation:

// Static functions

// Prototype functions

  • Q.fn.wrap
  • Q.fn.wrapAll