Sha256: a60f3564fdf4ef5eea5a6ac43385593d10c37273c314badf697fcd31c3c6d82f

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

class ElasticSliderPanelWidget < Widget

  def additional_classes(params)
    begin
      "active" if self.container.panels.first == self
    rescue
    end
  end

  def description_for_editor
    "Elastic Slider Panel"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scrivito_elastic_slider_widget-0.0.5 app/models/elastic_slider_panel_widget.rb
scrivito_elastic_slider_widget-0.0.4 app/models/elastic_slider_panel_widget.rb