Skip to content

long-read 0.0.1

Install from the command line:
Learn more about npm packages
$ npm install @limbo-works/long-read@0.0.1
Install via package.json:
"@limbo-works/long-read": "0.0.1"

About this version

Long Read

Usage

Setting up the long read menu

<LongReadController>
	<template #default="{ data, actions }">
		<ul>
			<li
				v-for="(target, index) in data.targets"
				:key="`item-${index}`"
			>
				<a
					:href="`#${target.id}`"
					:aria-current="
						data.activeTarget.id === target.id
					"
					@click.prevent="
						() =>
							actions.scrollToTarget &&
							actions.scrollToTarget(target)
					"
					v-text="target.title"
				></a>
			</li>
		</ul>
	</template>
</LongReadController>

Setting Up the Scroll Targets.

<div id="title1" >
	<LongReadTarget
		container-id="title1"
		title="title 1"
	/>
</div>

Details


Assets

  • long-read-0.0.1.tgz

Download activity

  • Total downloads 29
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all