Sha256: c2180db29f5ce79f0ede6cf70efb6961710c947ef394ae634c5e8260233aad2a
Contents?: true
Size: 864 Bytes
Versions: 2
Compression:
Stored size: 864 Bytes
Contents
Voom::Presenters.define('component_menu') do helpers Voom::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 maps 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
voom-presenters-2.1.2 | app/demo/components/nav/menu.pom |
voom-presenters-2.1.0 | app/demo/components/nav/menu.pom |