Module: Maglove::Widgets::Slider::Helpers
- Defined in:
- lib/maglove/widgets/slider.rb
Instance Method Summary collapse
Instance Method Details
#slider_item(options = {}, &block) ⇒ Object
47 48 49 50 51 52 |
# File 'lib/maglove/widgets/slider.rb', line 47 def ( = {}, &block) haml_tag :div, class: "item" do yield if block drop_container end end |
#slider_widget(options = {}, &block) ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/maglove/widgets/slider.rb', line 39 def ( = {}, &block) (Widgets::Slider.new()) do || haml_tag :div, . do yield if block end end end |