countdown-8.x-1.8/modules/countdown_field/templates/countdown-field-preview.html.twig
modules/countdown_field/templates/countdown-field-preview.html.twig
{#
/**
* @file
* Default theme implementation for a countdown field preview.
*
* Available variables:
* - library: The countdown library ID.
* - target_date: The target date/time in ISO-8601 format.
* - preview_id: Unique preview identifier.
* - attributes: HTML attributes for the preview container.
*
* @see template_preprocess_countdown_field_preview()
*
* @ingroup themeable
*/
#}
<div{{ attributes }}>
<div class="countdown-display">
{# The preview countdown timer will be initialized here by JavaScript. #}
<div class="countdown-loading" aria-live="polite">
{{ 'Initializing preview...'|t }}
</div>
</div>
</div>
