Skip to content

timwright12/Util.move

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Util.move

A plugin to help elements around the DOM

npm install utilitymove --save
  import UtilityMove from 'utilitymove';

  UtilityMove( {
    'el'       : document.getElementById( 'one' ),
    'appendTo' : document.getElementById( 'wrap' ),
    // 'before'      : null,
    // 'after'       : null,
    // 'prependTo'   : null,
    'minWidth' : 800,
    'refreshRate' : 100,
    // useMatchMedia: true,
    // mediaQuery: '(min-width: 800px)',
  } );

If you're not using ES6, you don't need the import, just include the script

About

A plugin to help elements around the DOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •