<# var position = data.field.preview.position; var defaults = { translateX: '0', translateY: '0', skew: '', rotate: '', scaleX: '1', scaleXSign: '', scaleYSign: '' }; var value = '' === data.value ? defaults : data.value; var dimensions = { skewX: { label: '', min: -60, max: 60, }, skewY: { label: '', min: -60, max: 60, }, scaleX: { label: '', min: 1, max: 10, step: .1, }, rotate: { label: '', min: 0, max: 360, }, }; var xOrientation = wp.template( 'fl-builder-field-button-group' )( { name: data.name + '[][scaleXSign]', value: value.scaleXSign, field: { label: '', options: { 'invert': '', }, }, } ); var yOrientation = wp.template( 'fl-builder-field-button-group' )( { name: data.name + '[][scaleYSign]', value: value.scaleYSign, field: { label: '', options: { 'invert': '', }, }, } ); #>