Sha256: 0f78948876b0405e97a46dc8e809cc409c0bf6d6e238f0399a18597fc04a70bc

Contents?: true

Size: 773 Bytes

Versions: 6

Compression:

Stored size: 773 Bytes

Contents

<button id="<%= comp.id %>"
   class="v-icon-toggle mdc-icon-button
       <%= 'mdc-icon-button--on' if comp.checked %>"
   <%= 'disabled' if comp.disabled %>
   role="button"
   aria-disabled="<%= comp.disabled %>"
   aria-pressed="<%= comp.checked %>"
   data-checked="<%= comp.checked %>"
   aria-label="" tabindex="0"
   data-name="<%= comp.name %>"
   data-off="<%= comp.off_value %>"
   <%= erb :"components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.event_parent_id} %>>
  <i class="material-icons mdc-icon-button__icon mdc-icon-button__icon--on"><%= comp.on_icon  %></i>
  <i class="material-icons mdc-icon-button__icon"><%= comp.icon  %></i>
</button>
<%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 views/mdc/components/icon_toggle.erb
voom-presenters-2.1.0 views/mdc/components/icon_toggle.erb
voom-presenters-2.0.3 views/mdc/components/icon_toggle.erb
voom-presenters-2.0.2 views/mdc/components/icon_toggle.erb
voom-presenters-2.0.1 views/mdc/components/icon_toggle.erb
voom-presenters-2.0.0 views/mdc/components/icon_toggle.erb