<# const resetData = data.default; #> <# const responsive_class = Object.keys( data.responsive ).length > 1 ? ' has-responsive-switcher' : ''; const switcher_class = Object.keys( data.responsive ).length > 1 ? 'responsive-devices d-flex align-items-center' : 'd-flex align-items-center'; #>
{{{ data.label }}} <# if ( Object.keys( data.responsive ).length > 1 ) { #> <# } #>
<# if ( data.description ) { #> {{{ data.description }}} <# } #> <# Object.keys( data.responsive ).forEach( function( key ) { let active_class = ( (data.responsive)[key] === 'desktop' ) ? ' active' : ''; #>
<# let reset = ( resetData[(data.responsive)[key]] !== undefined ) ? resetData[(data.responsive)[key]] : '';#>
<# if ( Object.keys( data.units ).length !== 0 ) { #>
    <#_.each( data.units, function( unit_key, unit_index ) { const unit_class = unit_index === 0 ? 'single-unit active' : 'single-unit'; #>
  • {{{ unit_key }}}
  • <# }); #>
<# } #>
<# }); #> register_control_type( 'Business_Aarambha_Customize_Range_Control' );