Sha256: c8ed9660166448dc7be557ab1fc94b364588e407a882de18ea018f0d83801551

Contents?: true

Size: 855 Bytes

Versions: 10

Compression:

Stored size: 855 Bytes

Contents

Coprl::Presenters.define('component_menu') do
  helpers Coprl::Presenters::Helpers::Inflector
  menu side: :left do
    %i(
      avatars
      badges
      buttons
      cards
      chips
      content
      date_fields
      datetime_fields
      dialogs
      drawers
      expansion_panels
      fabs
      fabs_mini
      file_inputs
      footers
      headers
      hidden_fields
      icons
      images
      image_lists
      layouts
      lists
      number_fields
      menus
      multi_selects
      progress
      selects
      sliders
      snackbar
      steppers
      tab_bars
      tables
      text_areas
      text_fields
      time_fields
      toggles
      tooltips
      unordered_lists
    ).sort.each do |comp|
      item titleize(comp) do
        event :click do
          loads comp
        end
      end
    end
  end
end


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.11 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.10 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.9 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.8 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.7 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.6 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.5 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.4 app/demo/components/nav/menu.pom
coprl-3.0.0.beta.3 app/demo/components/nav/menu.pom