https://github.com/xizon/pjax.uix
A modified version of extension for jQuery Pjax.
https://github.com/xizon/pjax.uix
Last synced: about 2 months ago
JSON representation
A modified version of extension for jQuery Pjax.
- Host: GitHub
- URL: https://github.com/xizon/pjax.uix
- Owner: xizon
- License: mit
- Created: 2018-11-26T10:08:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-26T10:17:40.000Z (over 6 years ago)
- Last Synced: 2025-01-14T12:50:01.675Z (3 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pjax.uix
A modified version of extension for jQuery Pjax.Based on https://github.com/defunkt/jquery-pjax
Version added:
- Add a option to increase stream delay.
- Add a callback or a collection of callbacks to a callback list.
- Increase a function of ui show to load an file.
- Fires asynchronously with each click event### Last Usage:
``` js
//Trigger
$( document ).pjax( 'a[data-pjax], [data-pjax] a', '#main', {
showHTMLdelay: 0,
startEvent: function( button ){
//alert( button.attr( 'href' ) );},
endEvent: function( button ){
//}
});//Remove pjax link
$( 'a[data-remove-pjax]' ).attr( 'usepjax', 1 );
```