Sha256: d4eeb7e7d96aad15cb707f3712bbc102cf1cc53729906363075f7f4f60538e27

Contents?: true

Size: 816 Bytes

Versions: 12

Compression:

Stored size: 816 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 %>"
   <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.event_parent_id} if comp.events&.any? %>>
  <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>
<%= partial "components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} if comp.tooltip %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.11 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.10 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.9 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.8 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.7 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.6 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.5 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.4 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.3 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.2 views/mdc/components/_icon_toggle.erb
coprl-3.0.0.beta.1 views/mdc/components/_icon_toggle.erb