1.0.5 • Published 4 years ago

svelte-fullpage.js v1.0.5

Weekly downloads
25
License
-
Repository
-
Last release
4 years ago

npm.io npm.io

Svelte-fullpage.js

logo

Installation

npm install svelte-fullpage.js

Example

Live example here with source code

example gif

Basic example :

<script>
	import Fullpage from 'svelte-fullpage.js';

	const options = {
		navigation: true,
		responsiveWidth: 700,
		anchors: ['home', 'about-us', 'contact'],
		parallax: true,
		onLeave: function(origin, destination, direction){
			console.log("Leaving section" + origin.index);
		}
	}
</script>

<Fullpage {options}>
	<div class="section">Section 1</div>
	<div class="section">Section 2</div>
	<div class="section">Section 3</div>
</Fullpage>

:stars: Show Your Support

Please give a :star: if this project helped you!

:scroll: License

GPLv3 © Alexandre Negrel

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago