mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 17:48:37 +08:00
Added some documentation to new pjax attribute
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
// event - "click" jQuery.Event
|
||||
// options - pjax options
|
||||
//
|
||||
// If the click event target has 'data-pjax="0"' attribute, the event is ignored, and no pjax call is made.
|
||||
//
|
||||
// Examples
|
||||
//
|
||||
// $(document).on('click', 'a', $.pjax.click)
|
||||
|
||||
Reference in New Issue
Block a user