{{{ settings.prefix }}}
{{{ settings.starting_number }}}
{{{ settings.suffix }}}
<# if ( settings.title ) {
#>
{{{ settings.title }}}
<#
} #>
get_settings_for_display();
$this->add_render_attribute( 'counter', [
'class' => 'elementor-counter-number',
'data-duration' => $settings['duration'],
'data-to-value' => $settings['ending_number'],
'data-from-value' => $settings['starting_number'],
] );
if ( ! empty( $settings['thousand_separator'] ) ) {
$delimiter = empty( $settings['thousand_separator_char'] ) ? ',' : $settings['thousand_separator_char'];
$this->add_render_attribute( 'counter', 'data-delimiter', $delimiter );
}
$this->add_render_attribute( 'counter-title', 'class', 'elementor-counter-title' );
$this->add_inline_editing_attributes( 'counter-title' );
?>
print_unescaped_setting( 'prefix' ); ?>
print_render_attribute_string( 'counter' ); ?>>print_unescaped_setting( 'starting_number' ); ?>
print_unescaped_setting( 'suffix' ); ?>
print_render_attribute_string( 'counter-title' ); ?>>print_unescaped_setting( 'title' ); ?>