Sha256: 7888eb5e22ed294bebd7520b5b28b79357ecd2988a6334f2ae78afdbe377cc2d

Contents?: true

Size: 929 Bytes

Versions: 9

Compression:

Stored size: 929 Bytes

Contents

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

<% if comp.menu %>
  <div class="mdc-menu-anchor" %>
<% end %>
<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} %>
<% if comp.menu %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
voom-presenters-0.1.8 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.7 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.6 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.5 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.4 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.3 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.2 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.1 views/mdc/components/buttons/fab.erb
voom-presenters-0.1.0 views/mdc/components/buttons/fab.erb