Class: Protos::Carousel::Item

Inherits:
Protos::Component show all
Defined in:
lib/protos/carousel/item.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: A single item within a carousel



8
9
10
# File 'lib/protos/carousel/item.rb', line 8

def view_template(&)
  div(**attrs, &)
end