You are here

public function JcarouselAppendCommand::__construct in jCarousel 8.4

Same name and namespace in other branches
  1. 8.5 src/Ajax/JcarouselAppendCommand.php \Drupal\jcarousel\Ajax\JcarouselAppendCommand::__construct()

File

src/Ajax/JcarouselAppendCommand.php, line 67
Contains \Drupal\Core\Ajax\JcarouselAppendCommand.

Class

JcarouselAppendCommand
An AJAX command for adding jCarousel items dynamically.

Namespace

Drupal\jcarousel\Ajax

Code

public function __construct($selector, $content, array $settings = NULL) {
  $this->selector = $selector;
  $this->content = $content;
  $this->settings = $settings;
}