1.2.6 • Published 2 years ago

@foragefox/doubledash v1.2.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Double Dash

Double Dash is simple utility library meant to help transition people off of jQuery.

Installation

npm install @foragefox/doubledash

Usage

import __ from '@foragefox/doubledash';

Categories

We orginiaze our functions into categories:

  • animate
  • dom
  • event
  • form
  • lang
  • location
  • size
  • template

Namespace structure

The name space is broken down by the library, category and function name.

{library}.{category}.{function}

eg.

__.dom.parents(element, target)

library = __\ category = dom\ function = parents

Documentation

Find our docs here

AnimateDomEventFormLangLocation
animation()after()off()parseForm()escapeHtml()offset()
bounce()append()on()populateForm()extend()position()
bounceIn()before()once()isArray()
bounceOut()children()trigger()isBoolean()
fadeIn()clone()isEmpty()
fadeOut()closest()isFunction()
flash()contains()isJson()
heartBeat()create()isNull()
jello()empty()isNumber()
pulse()find()isObject()
rotateIn()findOne()isRegExp()
rotateOut()hide()isSet()
rubberBand()next()isString()
shake()parents()isUndefined()
slideIn()prepend()
slideOut()prev()
swing()remove()
tada()show()
wobble()siblings()
zoomingIn()toggle()
zoomingOut()
SizeTemplate
width()supplant()
outerWidth()
setWidth()
height()
outerHeight()
setHeight()

Testing

Before running npm run test, make sure you add the temporary option in the package.json: "type": "module"

1.2.6

2 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago