(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
1/1
${data.index + 1}/${data.total}
Description
Notes:
This product requires some installation capability, it is recommended to watch the Youtube installation video carefully before installing it, or go to a professional installation shop. If you have any questions, please contact our technical support first.
Car Model:
Model 3 2021-2023 ,Model Y 2021+ (orginal vehicle with front door trim panels)
Functions and Features:
With multiple 128 color adjustments of soothing light options.
Central console panel touch control.
With active control, door open mode, turn signal mode, AC control mode.
Change the light color according to the rhythm of the music.
Low power consumption, non-destructive installation.