You are here

public function RefreshResponsive::__construct in Bootstrap Styles 1.0.x

Constructs an RefreshResponsive object.

Parameters

string $selector: A jQuery selector.

string $method: The name of a jQuery method to invoke.

array $data: An optional array of data to pass to the method.

File

src/Ajax/RefreshResponsive.php, line 51

Class

RefreshResponsive
AJAX command for invoking an arbitrary jQuery method.

Namespace

Drupal\bootstrap_styles\Ajax

Code

public function __construct($selector, $method, array $data = []) {
  $this->selector = $selector;
  $this->method = $method;
  $this->data = $data;
}