From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
Line 6: Line 6:
 
: Action used to break execution of the action block if a content update is necessary.
 
: Action used to break execution of the action block if a content update is necessary.
 
: This action should be used when setting some value in same action block into certain widget and in same block, executing a decision based on content of that widget.
 
: This action should be used when setting some value in same action block into certain widget and in same block, executing a decision based on content of that widget.
: i.e. <code>[[gn:act_widgetContent]]</code> which decides further action block flow is used on widget whose content is set in same action block at the beginning. If break is not made the content will not get refreshed in widget until action block is not finished and flow may go in wrong direction.
+
: i.e. <code>[[gn:act_widgetContent]]</code> which decides further action block flow is used on widget whose content is set in same action block at the beginning.
 +
: If break is not made the content will not get refreshed in widget until action block is not finished and flow may go in wrong direction.
  
 
;Action returns: void
 
;Action returns: void
Line 13: Line 14:
 
===Update UI break ===
 
===Update UI break ===
  
;<code>[gn:act_updateUIbreak]|[number]</code>
+
:;<code>[gn:act_updateUIbreak]|[number]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| number
+
| <code>number</code>
| <div style="text-align: right;">'''optional'''</div>
+
| <div style="text-align: right; background-color: #e5e5e5; padding-right: 7px">'''optional'''</div>
 
number of miliseconds which defines how long break should last in milliseconds.
 
number of miliseconds which defines how long break should last in milliseconds.
 
:If nothing is set, default value is 10 milliseconds  
 
:If nothing is set, default value is 10 milliseconds  
Line 28: Line 29:
  
 
====Example====
 
====Example====
<code>3000</code> - miliseconds<br><br>
+
:<code>3000</code> - miliseconds<br>
<code>[gn:act_updateUIbreak]|[3000]</code>
+
:; ⤷ <code>[gn:act_updateUIbreak]|[3000]</code>
 
<hr>
 
<hr>

Revision as of 16:15, 12 July 2017

gn:act_updateUIbreak

Description
Action used to break execution of the action block if a content update is necessary.
This action should be used when setting some value in same action block into certain widget and in same block, executing a decision based on content of that widget.
i.e. gn:act_widgetContent which decides further action block flow is used on widget whose content is set in same action block at the beginning.
If break is not made the content will not get refreshed in widget until action block is not finished and flow may go in wrong direction.
Action returns
void

Action signatures

Update UI break

[gn:act_updateUIbreak]|[number]
Parameter Description
number
optional

number of miliseconds which defines how long break should last in milliseconds.

If nothing is set, default value is 10 milliseconds

Example

3000 - miliseconds
[gn:act_updateUIbreak]|[3000]