Sha256: 9403f2e339f0486794e2fe480ca965f69c7eeb08c4b6270ff396c97309602d2f
Contents?: true
Size: 461 Bytes
Versions: 61
Compression:
Stored size: 461 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 interval val = send(:'auto-play-images') if val == 'true' send(:'auto-play-images-interval') else false end end end end end
Version data entries
61 entries across 61 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-2.5.0 | app/models/sir_trevor_rails/blocks/solr_documents_carousel_block.rb |