Home > widget-integration > CountdownTimerController > show
CountdownTimerController.show() method
Make the timer element visible by clearing display: none.
Signature:
protected show(): void;
Returns:
void
Example
Override to add a fade-in animation:
protected show() {
if (this.element) {
this.element.style.opacity = '0';
this.element.style.display = '';
requestAnimationFrame(() => {
this.element.style.transition = 'opacity 0.3s';
this.element.style.opacity = '1';
});
}
}