ForgeComponents
en

Components

j-TouchMove

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

Simple touchmove component for easy touch navigation next/prev/up/down.

Use it with <ui-component name="touchmove">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<ui-component name="touchmove" config="prev:goPrev;next:goNext;up:goUp;down:goDown">
	<br />
	<br />
	<br />
	TRY TO TAP
	<br />
	<br />
	<br />
</ui-component>

<script>
	function goPrev() {
		alert('Prev');
	}
	function goNext() {
		alert('Next');
	}
	function goUp() {
		alert('Up');
	}
	function goDown() {
		alert('Down');
	}
</script>