You are here

public function TimelineSlide::setBackground in Views TimelineJS integration 7.3

Sets the background for this slide.

Parameters

TimelineBackgroundInterface $backgound: The background object.

Overrides TimelineSlideInterface::setBackground

File

src/TimelineSlide.php, line 105

Class

TimelineSlide
Defines a TimelineJS3 slide.

Code

public function setBackground(\TimelineBackgroundInterface $backgound) {
  $this->background = $backgound;
}