0.2.0

Borda supports four animation effects for tooltip enter/exit transitions. Each effect can be applied independently to enter and exit.

Fade

await borda.mount({
  steps: [...],
  animation: {
    isEnabled: true,
    tooltip: {
      enter: AnimationEffect.FADE,
      exit: AnimationEffect.FADE,
      enterDuration: 200,
      exitDuration: 150,
    },
  },
});

Scale

await borda.mount({
  steps: [...],
  animation: {
    isEnabled: true,
    tooltip: {
      enter: AnimationEffect.SCALE,
      exit: AnimationEffect.SCALE,
      enterDuration: 200,
      exitDuration: 150,
    },
  },
});

No animation

await borda.mount({
  steps: [...],
  animation: false,
});