Files
carpseeds.pl/wp-content/plugins/elementor-3.2.5-bck4/tests/qunit/editor/frontend.js
2024-07-15 11:28:08 +02:00

74 lines
1.4 KiB
JavaScript

export default {
elements: {
window,
// Shortcut bind, in other words make shortcuts listen to iframe.
$window: jQuery( '#elementor-preview-iframe' ),
$body: jQuery( '#elementor-test' ),
},
config: {
elements: { data: {}, editSettings: {} },
breakpoints: {},
responsive: {
breakpoints: {
mobile: {
label: 'Mobile',
value: 767,
direction: 'max',
is_enabled: true,
},
mobile_extra: {
label: 'Mobile Extra',
value: 880,
direction: 'max',
is_enabled: false,
},
tablet: {
label: 'Tablet',
value: 1024,
direction: 'max',
is_enabled: true,
},
tablet_extra: {
label: 'Tablet Extra',
value: 1365,
direction: 'max',
is_enabled: false,
},
laptop: {
label: 'Laptop',
value: 1620,
direction: 'max',
is_enabled: false,
},
widescreen: {
label: 'Widescreen',
value: 2400,
direction: 'min',
is_enabled: false,
},
},
activeBreakpoints: {
mobile: {
label: 'Mobile',
value: 767,
direction: 'max',
is_enabled: true,
},
tablet: {
label: 'Tablet',
value: 1024,
direction: 'max',
is_enabled: true,
},
},
},
},
isEditMode: () => {
},
elementsHandler: {
runReadyTrigger: () => {
},
},
init: () => console.log( 'elementorFrontend::init' ), // eslint-disable-line no-console
};