Skip to content
themahabbatPublic

About

Javascript library for loading pages within wrapper elements with AJAX

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RouterJS

Javascript library for loading pages within wrapper elements with AJAX

Dependencies

jQuery

Just include jQuery before

<script src="jquery.min.js"></script>

Usage

Parameters: element, attribute, wrapper, pushState

// Single element
Router(
    'a', 'href', 'body', true
)

// Multiple element
Router(
    ['a', 'button'],
    ['href', 'data-btn-link'],
    '#main', false
)

About

Javascript library for loading pages within wrapper elements with AJAX

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages