ForgeComponenti
it

Componenti

j-TouchMove

jComponent 20 · jcomponent@20 component Esempio caricato con jComponent 20

Componente touchmove semplice per la navigazione a touch facile next/prev/down.

Utilizzare con <ui-component name="touchmove">Quando il componente non è ancora caricato, jComponent Scarica il codice in prima utilizzazione dall'indirizzo DEF.fallback (Il Componentator La storia di Peter Širka.Fonte: il Componentator Ristorante dei componenti, licenza MIT.

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>