Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Voskobovich committed Aug 9, 2015
1 parent 408ce9c commit d0e5d16
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ScrollPagerWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
/**
* Class ScrollPagerWrapper
* @package voskobovich\widgets
*
* @property string container
*/
class ScrollPagerWrapper extends Pjax
{
Expand All @@ -17,11 +19,20 @@ class ScrollPagerWrapper extends Pjax
* Note that if the response to the pjax request is a full page, a normal request will be sent again.
*/
public $linkSelector = false;

/**
* @var string|false the jQuery selector of the forms whose submissions should trigger pjax requests.
* If not set, all forms with `data-pjax` attribute within the enclosed content of Pjax will trigger pjax requests.
* If set to false, no code will be registered to handle forms.
* Note that if the response to the pjax request is a full page, a normal request will be sent again.
*/
public $formSelector = false;

/**
* @return string
*/
public function getContainer()
{
return '#' . $this->id;
}
}

0 comments on commit d0e5d16

Please sign in to comment.