Sha256: 7b11f43e99a235c68ec5c33ad58305583239984c8a9b2c59f40d291a4780a3a8

Contents?: true

Size: 829 Bytes

Versions: 5

Compression:

Stored size: 829 Bytes

Contents

<% class_name = '' unless local_variables.include? :class_name
   position_classes = comp.position.map {|p| "v-button-fab-position-#{p}"}.join(' ')
%>

<button id="<%= comp.id %>"
        class="mdc-fab material-icons v-fab--absolute v-js-ripple-button <%= class_name %> <%= position_classes %>
          <%= 'mdc-fab--mini' if eq(comp.size, :small) %>"
        aria-label="<%= inflector.humanize(comp.icon.icon) %>"
        <%= 'disabled' if comp.disabled %>
        <%= erb :"components/event", :locals => {events: comp.events, parent_id: comp.event_parent_id} unless comp.disabled %>>
  <span class="mdc-fab__icon">
  <%= comp.icon.icon %>
  </span>
</button>
<%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>
<%= erb :"components/menu", :locals => {comp: comp.menu, parent_id: comp.id} %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.12 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.11 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.10 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.9 views/mdc/components/buttons/fab.erb