Sha256: 44930a2378eb55852b4a1780e18587dcb7d22996617a08e0e9c041c96e29eab8

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

- if options.any?
  - options_for_js = options.merge(responsive: responsive).collect { |k,v| "\"#{k.to_s.camelize(:lower)}\": #{v}" }.join(', ')
  %div{ data: { slick: "{#{options_for_js.html_safe}}" } }
    = block.call
- else
  %div{ data: { slick: true } }
    = block.call

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slick-rails-0.0.2 app/views/slick/rails/application_view_helper/_render_carousel.html.haml