<# if ( settings.title ) {
#><{{ titleTag }} {{{ view.getRenderAttributeString( 'counter-title' ) }}}>{{{ elementor.helpers.sanitize( settings.title, { ALLOW_DATA_ATTR: false } ) }}}{{ titleTag }}><#
} #>
{{{ settings.prefix }}}
{{{ settings.starting_number }}}
{{{ settings.suffix }}}
get_settings_for_display();
$this->add_render_attribute( 'elementor-counter', 'class', 'elementor-counter' );
$this->add_render_attribute( 'counter-number', 'class', 'elementor-counter-number-wrapper' );
$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( 'prefix', 'class', 'elementor-counter-number-prefix' );
$this->add_render_attribute( 'suffix', 'class', 'elementor-counter-number-suffix' );
$this->add_render_attribute( 'counter-title', 'class', 'elementor-counter-title' );
$this->add_inline_editing_attributes( 'counter-title' );
$title_tag = Utils::validate_html_tag( $settings['title_tag'] );
?>
print_render_attribute_string( 'elementor-counter' ); ?>>
< print_render_attribute_string( 'counter-title' ); ?>>get_settings_for_display( 'title' ) ); ?>>
print_render_attribute_string( 'counter-number' ); ?>>
print_render_attribute_string( 'prefix' ); ?>>print_unescaped_setting( 'prefix' ); ?>
print_render_attribute_string( 'counter' ); ?>>print_unescaped_setting( 'starting_number' ); ?>
print_render_attribute_string( 'suffix' ); ?>>print_unescaped_setting( 'suffix' ); ?>