Sha256: 44f513aab015ad07afa68329e69aef4f8a1037fb63cec997ef0efe7724617b03

Contents?: true

Size: 400 Bytes

Versions: 9

Compression:

Stored size: 400 Bytes

Contents

module Pageflow
  module OutlineNavigationBar
    class ExpandableWidgetType < OutlineNavigationBar::WidgetType
      def name
        'outline_navigation_bar_expandable'
      end

      def translation_key
        'pageflow.outline_navigation_bar.expandable.widget_type_name'
      end

      def render(template, entry)
        super(template, entry, expandable: true)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pageflow-outline-navigation-bar-1.6.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.5.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.4.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.3.1 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.3.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.2.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.1.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-1.0.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb
pageflow-outline-navigation-bar-0.1.0 lib/pageflow/outline_navigation_bar/expandable_widget_type.rb