Sha256: 6e60b1d54e8cc8bdaabc9c0b9074c9c2b19b1745954604b41f4f2a41c56611fd

Contents?: true

Size: 800 Bytes

Versions: 6

Compression:

Stored size: 800 Bytes

Contents

<%
  require_relative "drag_and_drop/drag_and_drop"
  variant_classes = []
  variant_classes << "mdc-chip-set--#{comp.variant}" if comp.variant
  variant_classes << 'v-chip-set--selectable-variant' if eq(comp.variant, :select) || eq(comp.variant, :filter)
%>
<div id="<%= comp.id %>"
     class="v-chip-set mdc-chip-set
            <%= variant_classes.join(' ') %>
            <% if comp.draggable %>v-dnd-draggable
       <% end %>"
     <%= draggable_attributes(comp) %>
     <%= drop_zone_attributes(comp) %>
     <%= erb(:"components/event", locals: {comp: comp,
                                           events: comp.events,
                                           parent_id: comp.id}) %>>
  <%= erb :"components/render", :locals => {:components => comp.components, :scope => nil} %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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