From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Enable widgets===
 
===Enable widgets===
  
;<code>[gn:act_enableWidget]|[target{n}]</code>
+
:;<code>[gn:act_enableWidget]|[target{n}]</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
 
|-
 
|-
| [[target]]{n}
+
| <code>[[target]]{n}</code>
| [[target]] which will be enables
+
| [[target]] which will be enabled
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
 
** any [[:Category:Widgets|widget]]
 
** any [[:Category:Widgets|widget]]
Line 25: Line 25:
  
 
====Example====
 
====Example====
<code>@+id/rental_rentOutDate,@+id/rental_plannedEndDate</code> - widgets<br><br>
+
:<code>@+id/rental_rentOutDate, @+id/rental_plannedEndDate</code> - widgets<br>
<code>[gn:act_enableWidget]|[@+id/rental_rentOutDate,@+id/rental_plannedEndDate]</code>
+
:; ⤷ <code>[gn:act_enableWidget]|[@+id/rental_rentOutDate, @+id/rental_plannedEndDate]</code>
 
<hr>
 
<hr>

Latest revision as of 15:05, 12 July 2017

gn:act_enableWidget

Description
Action used to enable single or multiple widgets when action is executed.
Action returns
void

Action signatures

Enable widgets

[gn:act_enableWidget]|[target{n}]
Parameter Description
target{n} target which will be enabled

Example

@+id/rental_rentOutDate, @+id/rental_plannedEndDate - widgets
[gn:act_enableWidget]|[@+id/rental_rentOutDate, @+id/rental_plannedEndDate]