xofy

A component that simply displays a number, then the word "of", then another number. The purpose of this would be to display the current index of an array that you are navigating through.

Usage no npm install needed!

<script type="module">
  import xofy from 'https://cdn.skypack.dev/xofy';
</script>

README

xofy (demo)

A component that simply displays a number, then the word "of", then another number. The purpose of this would be to display the current index of an array that you are navigating through.

Installation

yarn add @sveltejs/xofy

Usage

<script>
  import xofy from '@sveltejs/xofy';

</script>

<xofy />

License

LIL