<# var fieldId = 'undefined' === typeof param.param_name ? param.id : param.param_name; var value = option_value || param.value || param.default || ''; let position = ''; if ( !value.includes( ' ' ) ) { // in this case get the value from other element setting or parent setting. if ( value.startsWith( 'parent_' ) ) { let key = value.replace( 'parent_', '' ); value = atts.parentValues ? atts.parentValues[key] || '' : ''; } else { value = atts.parentValues ? atts.parentValues[value] || '' : ''; } } position = value ? value.split( ' ' ) : []; var left = position[0] ? `${position[0]}`: '50%'; var top = position[1] ? `${position[1]}`: '50%'; var pointStyle = `top:${top}; left:${left};`; #>
<# if ( 'position' === param.mode ) { #> <# } else { #> <# } #>