From wiki.ginstr.com
Jump to: navigation, search
Line 76: Line 76:
 
| title="Event" | <code>[[gn:act_backLoad]]</code>
 
| title="Event" | <code>[[gn:act_backLoad]]</code>
 
| title="Brief Description" | Executed when user returns to this screen via hardware back button or using <code>[[gn:act_goLayoutBack]]</code>
 
| title="Brief Description" | Executed when user returns to this screen via hardware back button or using <code>[[gn:act_goLayoutBack]]</code>
|-
 
| title="Action" | <code>[[gn:act_validate]]</code>
 
| title="Brief Description" | Validates widget upon its content change/selection event
 
 
|}
 
|}

Revision as of 11:17, 16 March 2017

Events

Events provide an option to execute multiple actions on an event.

Actions are executed in the order they are entered in the value of the set.

Example: gn:act_setClick="action{n}"

The table below contains a brief description of all possible events.

Full details on each event can be found by clicking on the Event Name

Event Brief Description
gn:act_set Executed by gn:act_trigger action
gn:act_setClick Executed by clicking on a widget
gn:act_setLongClick Executed by long clicking on a widget
gn:act_setItemSelect Executed by selecting an item in a widget that has data in its list
gn:act_setBack Executed when user presses the back button on the device
gn:act_setOnNfc Executed when NFC tag is scanned
gn:act_setCheck Executed when GnCheckBox is selected or deselected
gn:act_setRadioCheck Executed when GnRadioButton is selected or deselected
gn:act_setOnGps Executed when GPS data is read from the device
gn:act_setOnQr Executed when a QR code is scanned
gn:act_setOnWiFi Executed every time WiFi fingerprint data is read from the device
gn:act_setOnGSM Executed every time GSM fingerprint data is read from the device
gn:act_setOnBT Executed every time Bluetooth fingerprint data is read from the device
gn:act_setOnBLE Executed every time BLE fingerprint data is read from the device
gn:act_setOnScrollEnd Executed when the ScrollView is scrolled to bottom end
gn:act_setOnTypingEnd Executed when the user stops typing
gn:event_afterAlertingDialogClosed Executed every time SMS/email alerting dialog is closed
gn:act_setOnFocusLost Executed every time user clicks outside of GnEditText input field.
gn:act_backLoad Executed when user returns to this screen via hardware back button or using gn:act_goLayoutBack