2016-04-21
1.3.0
Miguel Ribeiro
9.1.300.105
All
All
Components, Widgets
[Overview]
Applys shake motion to an element by: - Clicking itself; - Clicking on other element; - Calling shakeElement method;
[Detail]
Place the Shake widget in the page you have the element you want to shake.
The widget receives as inputs:
- Shake Element Id (mandatory);
- Activator Element Id;
If you wish to have the element shaking by clicking on it, just pass the same Id on both inputs.
Use shakeElement method to shake element when needed, which receives as inputs:
- Shake Element Id (mandatory, must be the same one which was passed as input to the widget);
- Return False (If true, it adds a return false to the end to stop execution. Used normally in links onclick);
You can use this method either as an onclick property of a link, or as part of the flow of a screen action.