Sha256: f645ee10585a27a582ec002ed2556d30fa3417b7bf5cb3b3344a06ee647b6a8e

Contents?: true

Size: 1.39 KB

Versions: 8

Compression:

Stored size: 1.39 KB

Contents

<div id="<%= comp.id %>"
     <% if comp.input_tag %>
     data-input-tag="<%= comp.input_tag %>"
     <% end %>
    class="v-slider v-input mdc-slider
      <%= 'mdc-slider--discrete' if comp.discrete %>
      <%= 'mdc-slider--display-markers' if comp.show_tracker_marks %>"
     tabindex="0"
     role="slider"
     data-name="<%= comp.name %>"
     <% if comp.step %>
     data-step="<%= comp.step %>"
     <% end %>
     <% if comp.dirtyable %>data-dirtyable<% end %>
     aria-valuemin="<%= comp.value_min %>"
     aria-valuemax="<%= comp.value_max %>"
     aria-valuenow="<%= comp.value unless comp.value.nil? %>"
     <% if comp.disabled %>aria-disabled<% end %>
     aria-label="Select Value"
    <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: "#{comp.id}-input"} if comp.events&.any? %>>
<div class="mdc-slider__track-container">
    <div class="mdc-slider__track"></div>

    <% if comp.show_tracker_marks %>
    <div class="mdc-slider__track-marker-container"></div>
    <% end %>

  </div>
  <div class="mdc-slider__thumb-container">

    <% if comp.discrete %>
    <div class="mdc-slider__pin">
      <span class="mdc-slider__pin-value-marker"></span>
    </div>
    <% end %>

    <svg class="mdc-slider__thumb" width="21" height="21">
      <circle cx="10.5" cy="10.5" r="7.875"></circle>
    </svg>
    <div class="mdc-slider__focus-ring"></div>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/_slider.erb
coprl-3.0.0.beta.11 views/mdc/components/_slider.erb
coprl-3.0.0.beta.10 views/mdc/components/_slider.erb
coprl-3.0.0.beta.9 views/mdc/components/_slider.erb
coprl-3.0.0.beta.8 views/mdc/components/_slider.erb
coprl-3.0.0.beta.7 views/mdc/components/_slider.erb
coprl-3.0.0.beta.6 views/mdc/components/_slider.erb
coprl-3.0.0.beta.5 views/mdc/components/_slider.erb