j-CountDown
The component can show an action when time is expired.
Configuration
text {String}optional, a text for countdown
Use it with <ui-component name="countdown">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Tomáš Novák. Source: the Componentator components repository, MIT license.
<ui-component name="countdown" path="expiredate" class="invisible">
<script type="text/html">You can send SMS again: {0}</script>
<a href="#">Send SMS again</a>
</ui-component>
<ui-component name="countdown" path="expiredate" config="text:You can send SMS again\: {0}" class="invisible">
<a href="#">Send SMS again</a>
</ui-component>
<script>
var expiredate = NOW.add('10 seconds');
</script>