File Manager

Current Directory: /home/astoriaah/www/templates/yootheme/vendor/yootheme/theme/modules/builder/app/elements
Viewing File: /home/astoriaah/www/templates/yootheme/vendor/yootheme/theme/modules/builder/app/elements/params.js
export default { id: { label: 'ID', description: 'Define a unique identifier for the element.' }, cls: { label: 'Class', description: 'Define one or more class names for the element. Separate multiple classes with spaces.' }, name: { label: 'Name', description: 'Define a name to easily indentify this element inside the builder.', attrs: { lazy: true } }, animation: { label: 'Animation', description: 'Override the section\'s animation setting. This option won\'t have any effect unless animations are enabled for this section.', type: 'select', default: '', options: { 'Inherit': '', 'None': 'none', 'Fade': 'fade', 'Scale Up': 'scale-up', 'Scale Down': 'scale-down', 'Slide Top Small': 'slide-top-small', 'Slide Bottom Small': 'slide-bottom-small', 'Slide Left Small': 'slide-left-small', 'Slide Right Small': 'slide-right-small', 'Slide Top Medium': 'slide-top-medium', 'Slide Bottom Medium': 'slide-bottom-medium', 'Slide Left Medium': 'slide-left-medium', 'Slide Right Medium': 'slide-right-medium', 'Slide Top 100%': 'slide-top', 'Slide Bottom 100%': 'slide-bottom', 'Slide Left 100%': 'slide-left', 'Slide Right 100%': 'slide-right', 'Parallax': 'parallax' } }, _parallax_button: { type: 'button-panel', text: 'Edit Settings', panel: 'builder-parallax', show: ({animation, item_animation}) => animation == 'parallax' || item_animation == 'parallax' }, visibility: { label: 'Visibility', description: 'Display the element only on this device width and larger.', type: 'select', default: '', options: { 'Always': '', 'Small (Phone Landscape)': 's', 'Medium (Tablet Landscape)': 'm', 'Large (Desktop)': 'l', 'X-Large (Large Screens)': 'xl' } }, margin: { label: 'Margin', description: 'Set the vertical margin. Note: The first element\'s top margin and the last element\'s bottom margin are always removed. Define those in the grid settings instead.', type: 'select', default: '', options: { 'Keep existing': '', 'Small': 'small', 'Default': 'default', 'Medium': 'medium', 'Large': 'large', 'X-Large': 'xlarge', 'None': 'remove-vertical' } }, margin_remove_top: { type: 'checkbox', text: 'Remove top margin', enable: ({margin}) => margin != 'remove-vertical' }, margin_remove_bottom: { type: 'checkbox', text: 'Remove bottom margin', enable: ({margin}) => margin != 'remove-vertical' }, maxwidth: { label: 'Max Width', description: 'Set the maximum content width.', type: 'select', default: '', options: { 'None': '', 'Small': 'small', 'Medium': 'medium', 'Large': 'large', 'X-Large': 'xlarge', 'XX-Large': 'xxlarge' } }, maxwidth_align: { label: 'Max Width Alignment', description: 'Define the alignment in case the container exceeds the element\'s max-width.', type: 'select', default: '', options: { 'Left': '', 'Center': 'center', 'Right': 'right' }, enable: ({maxwidth}) => maxwidth }, maxwidth_breakpoint: { label: 'Max Width Breakpoint', description: 'Define the device width from which the element\'s max-width will apply.', type: 'select', default: '', options: { 'Always': '', 'Small (Phone Landscape)': 's', 'Medium (Tablet Landscape)': 'm', 'Large (Desktop)': 'l', 'X-Large (Large Screens)': 'xl' }, enable: ({maxwidth}) => maxwidth }, text_align: { label: 'Text Alignment', description: 'Center, left and right alignment may depend on a breakpoint and require a fallback.', type: 'select', default: '', options: { 'Inherit': '', 'Left': 'left', 'Center': 'center', 'Right': 'right' } }, text_align_justify: { label: 'Text Alignment', description: 'Center, left and right alignment may depend on a breakpoint and require a fallback.', type: 'select', default: '', options: { 'Inherit': '', 'Left': 'left', 'Center': 'center', 'Right': 'right', 'Justify': 'justify' } }, text_align_breakpoint: { label: 'Text Alignment Breakpoint', description: 'Define the device width from which the alignment will apply.', type: 'select', default: '', options: { 'Always': '', 'Small (Phone Landscape)': 's', 'Medium (Tablet Landscape)': 'm', 'Large (Desktop)': 'l', 'X-Large (Large Screens)': 'xl' }, enable: ({text_align}) => text_align && text_align != 'justify' }, text_align_fallback: { label: 'Text Alignment Fallback', description: 'Define an alignment fallback for device widths below the breakpoint.', type: 'select', default: '', options: { 'Inherit': '', 'Left': 'left', 'Center': 'center', 'Right': 'right' }, enable: ({text_align, text_align_breakpoint}) => text_align && text_align_breakpoint }, text_align_justify_fallback: { label: 'Text Alignment Fallback', description: 'Define an alignment fallback for device widths below the breakpoint.', type: 'select', default: '', options: { 'Inherit': '', 'Left': 'left', 'Center': 'center', 'Right': 'right', 'Justify': 'justify' }, enable: ({text_align, text_align_breakpoint}) => text_align && text_align != 'justify' && text_align_breakpoint }, link: { label: 'Link', type: 'link', description: 'Enter or pick a link, an image or a video file.', attrs: { placeholder: 'http://', } }, link_target: { type: 'checkbox', text: 'Open the link in a new window' }, link_title: { label: 'Link Title', description: 'Enter an optional text for the title attribute of the link, which will appear on hover.' }, image: { label: 'Image', type: 'image', enable: ({icon}) => !icon }, _image_dimension: { type: 'grid', description: 'Setting just one value preserves the original proportions. The image will be resized and cropped automatically, and where possible, high resolution images will be auto-generated.', fields: { image_width: { label: 'Width', width: '1-2', attrs: { placeholder: 'auto', lazy: true }, enable: ({image}) => image }, image_height: { label: 'Height', width: '1-2', attrs: { placeholder: 'auto', lazy: true }, enable: ({image}) => image } } }, image_border: { label: 'Image Border', description: 'Select the image\'s border style.', type: 'select', default: '', options: { 'None': '', 'Circle': 'circle', 'Rounded': 'rounded' }, enable: ({image}) => image }, icon_ratio: { label: 'Icon Size', description: 'Enter a size ratio, if you want the icon to appear larger than the default font size, for example 1.5 or 2 to double the size.', attrs: { placeholder: '1', }, enable: ({icon}) => icon }, icon_color: { label: 'Icon Color', description: 'Set the icon color.', type: 'select', default: '', options: { 'Default': '', 'Muted': 'muted', 'Primary': 'primary', 'Success': 'success', 'Warning': 'warning', 'Danger': 'danger' }, enable: ({icon}) => icon } };