Skip to content

spencermountain/somehow-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

somehow-slider
— part of somehow
WIP svelte infographics

npm install somehow-slider
**work-in-progress**
<script>
  import { Vertical, Slider, Label } from './src'
</script>
<Vertical bind:value min="{0}" max="{200}">
  <label start="10" end="20" color="red" label="beginning" />
  <label start="20" end="180" color="blue" label="middle" />
  <label start="180" end="190" color="red" label="end" />
</Vertical>

image

Latitude

a component for selecting a latitude on our earth

<script>
  import { Latitude } from './src'
</script>
<Latitude value="{37}" />

image

API

  • Vertical
  • Horizontal
  • Label
  • Latitude

MIT

About

svelte slider component with labels

Resources

Stars

Watchers

Forks

Languages