You are here

public function ajaxCommentsScrollToElementCommand::__construct in AJAX Comments 8

Constructs a ajaxCommentsScrollToElementCommand object.

Parameters

string $selector:

File

src/Ajax/ajaxCommentsScrollToElementCommand.php, line 32
Contains \Drupal\ajax_comments\Ajax\ajaxCommentsScrollToElementCommand.

Class

ajaxCommentsScrollToElementCommand
AJAX command for calling the ajaxCommentsScrollToElement() method.

Namespace

Drupal\ajax_comments\Ajax

Code

public function __construct($selector) {
  $this->selector = $selector;
}