Sha256: 9147434e0e906eca707eab462ff192cc31e56607eb1d1d44bd386b3f7b779c00

Contents?: true

Size: 734 Bytes

Versions: 8

Compression:

Stored size: 734 Bytes

Contents

<p class="leading-7 [&:not(:first-child)]:mt-6">The Slider component introduces:</p>

<ul class="my-6 ml-6 list-disc [&>li]:mt-2 text-sm">
  <li><%= code("app/helpers/components/slider_helper.rb") %></li>
  <li><%= code("app/javascript/controllers/ui/slider_controller.js") %></li>
  <li><%= code("app/views/components/ui/_slider.html.erb") %></li>
</ul>

<p class="leading-7 [&:not(:first-child)]:mt-6">
<%= code("render_slider") %> accepts one keyword argument for the <%= code("name") %> of the slider element. It optionally accepts a <%= code("value") %> keyword for the starting value of the slider.
The javascript controller is responsible for maintaining the state and visual of the slider from the underlying range input.</p>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.14 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.13 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.12 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.10 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.8 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.5 app/views/examples/components/slider/_usage.html.erb
shadcn-ui-0.0.4 app/views/examples/components/slider/_usage.html.erb