Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

149
Vistas
svelte svelte-range-slider-pips generating 'springPositions' is not a store with a 'subscribe' method

I am trying to use the abovementioned package for svelte, but as soon as I invoke the component I get error 500 saying that

'springPositions' is not a store with a 'subscribe' method

I am new to svelte, do I need to perform some certain steps to make it work, or is it a bug in a component?

this is my code:

<script>
  import RangeSlider from "svelte-range-slider-pips";
  export let title;
  export let description;
  export let quantity = 1;
  export let price;
</script>

<style>
  .ticket-card {
    width: 270px;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    padding: 20px;
    border-radius: 10px;
  }
  h3 {
    color: var(--snow-color)
  }
  .description p {
    color: var(--snow-color);
    text-align: center;
  }
</style>


<article class="ticket-card">
  <h3>{title}</h3>
  <div class="description">
    <p>{description}</p>
  </div>
  <div class="quantity-selection">
    <RangeSlider min={1} max={50} values={[1]} springValues={{ stiffness: 0.15, damping: 0.4 }}/> 
    <span>{quantity}</span>

  </div>
</article>

thanks a lot

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda