06. Final Step - Event Handling
Register Devices in JS File
initStylesheet: function() {
var breakpoints = elementorFrontend.config.breakpoints;
this.stylesheet = new Stylesheet();
this.stylesheet
.addDevice( 'mobile', 0 )
.addDevice( 'tablet', breakpoints.md )
.addDevice( 'desktop', breakpoints.lg );
},initStylesheet: function() {
var breakpoints = elementorFrontend.config.breakpoints;
this.stylesheet = new Stylesheet();
this.stylesheet
.addDevice( 'width940', breakpoints.width940 )
.addDevice( 'width900', breakpoints.width900 )
.addDevice( 'width840', breakpoints.width840 )
.addDevice( 'width800', breakpoints.width800 )
.addDevice( 'width750', breakpoints.width750 )
.addDevice( 'width700', breakpoints.width700 )
.addDevice( 'width640', breakpoints.width640 )
.addDevice( 'width540', breakpoints.width540 )
.addDevice( 'width480', breakpoints.width480 )
.addDevice( 'mobile', 0 )
.addDevice( 'tablet', breakpoints.md )
.addDevice( 'desktop', breakpoints.lg );
},Files Attachment
Last updated