Skip to content

tejanium/jquery.swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

jQuery.swap

Usage

You can use it by specified parent.childrens element followed by two argument index

  $("ul li").swap(0, 2) // This will swap arrays of li index 0 with 2

OR

Simply swap single DOM with another DOM

  $("li:first").swap($("li:last"))

About

jQuery plugin to swap two DOM Object with animation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published