PageSourceSearch

https://myweby.gr/site/wp-content/plugins/creativo-elements//widgets/js/section-parallax.js?ver=1.5.8

js myweby.gr collected 2026-10-05 01:23:07 UTC 1,312 bytes, 43 lines download raw bytes

1class CreativoSectionParallax extends elementorModules.frontend.handlers.Base {
2	onInit() {		
3		let parallaxEl = this.$element;
4		if( parallaxEl.hasClass('creativo-enable-parallax') ) {			
5			// Initialize the parallax.
6			jQuery.stellar();
7		}
8	}
9
10	onElementChange( propertyName, option ) {
11		let parallaxEl = this.$element;		
12		if ( 'enable_section_parallax' === propertyName && jQuery( option.el ).find( 'input' ).is( ':checked' ) ) {
13			jQuery( this.$element ).addClass( 'creativo-enable-parallax' );
14			jQuery( this.$element ).attr( 'data-stellar-background-ratio', '0.5' );
15
16			// Initialize the parallax.
17			jQuery.stellar();
18		} else {
19			jQuery( this.$element ).removeClass( 'creativo-enable-parallax' );
20			jQuery( this.$element ).removeAttr( 'data-stellar-background-ratio' );
21		}
22	}
23}
24
25jQuery( window ).on( 'elementor/frontend/init', function() {
26
27	const addHandler = ( $element ) => {
28		if ( 'section' === $element.data( 'element_type' ) ) {
29			elementorFrontend.elementsHandler.addHandler( CreativoSectionParallax, {
30				$element,
31			} );
32		}
33	};
34
35	elementorFrontend.hooks.addAction( 'frontend/element_ready/global', addHandler );
36
37	// Initialize the parallax.
38	/*jQuery.stellar();
39
40	jQuery( window ).scroll( function() {
41		jQuery.stellar();
42	} );*/
43} );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.