<# if( 'animation7' === settings.premium_banner_image_animation ) { #>
<# } #>
<# if( '' !== title ) { #>
<{{{titleTag}}} {{{ view.getRenderAttributeString('premium_banner_title') }}}>{{{ title }}}{{{titleTag}}}>
<# } #>
<# if( '' !== settings.premium_banner_description ) { #>
{{{ settings.premium_banner_description }}}
<# } #>
<# if( 'yes' === linkSwitcher && '' !== readMore ) {
var btnClass = '';
if ( 'none' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-none';
} else if ( 'style1' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-style1-' + settings.premium_button_style1_dir;
} else if ( 'style2' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-style2-' + settings.premium_button_style2_dir;
} else if ( 'style5' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-style5-' + settings.premium_button_style5_dir;
} else if ( 'style6' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-style6';
} else if ( 'style7' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-style7-' + settings.premium_button_style7_dir;
} else if ( 'style8' === settings.premium_button_hover_effect ) {
btnClass = 'premium-button-' + settings.underline_style;
var btnSVG = '';
switch ( settings.underline_style ) {
case 'line1':
btnSVG = '
';
break;
case 'line3':
btnSVG = '
';
break;
case 'line4':
btnSVG = '
';
break;
default:
break;
}
}
btnClass = 'premium-button-' + settings.premium_button_hover_effect + ' ' + btnClass;
view.addRenderAttribute( 'button', {
'class': [
'premium-banner-link',
btnClass,
],
'href': bannerUrl,
'data-text': readMore,
});
#>
<# } #>
<# if( 'animation7' === settings.premium_banner_image_animation ) { #>