Sha256: 51f4e279b065c53e6d0d78eca409db5f57036190d32dec42f4f5d5cafa42a250
Contents?: true
Size: 492 Bytes
Versions: 24
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true module SirTrevorRails module Blocks ## # Carousel with documents and text block class SolrDocumentsCarouselBlock < SirTrevorRails::Blocks::SolrDocumentsBlock def max_height send(:'max-height') end def autoplay? send(:'auto-play-images') == 'true' end def interval if autoplay? send(:'auto-play-images-interval') else false end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems