[Pas2js] Swipe Forms in pas2js

warleyalex warleyalex at yahoo.com.br
Thu Nov 1 21:25:50 CET 2018


In pas2js, how to manage swipe forms
One thing that is really nice is the horizontal swipe to transition form in
pas2js.

...try handling swipe gestures back/forward directions without click on the
buttons.

PREVIEW USING PAS2JS: https://pas2js.github.io/master/projLForms/index.html


To perform a native swipe transitions, let's suppose you have a Lazarus, you
have 3 forms, each one with a single button, all forms are loaded at once at
the application start up :( like the following structure:

<div class="Application">
  <div id="OBJ3" class="Form1">
    <div id="OBJ4" class="button">Btn1</div>
  </div>
  <div id="OBJ5" class="Form2">
    <div id="OBJ6" class="button" >Btn2</div>
  </div>
  <div id="OBJ7" class="Form3">
    <div id="OBJ8" class="button" >Btn3</div>
  </div>
</div>





--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list