PageSourceSearch

https://slome.fr/cdn/shop/t/476/assets/islands-height-css-variable-20260928T123922-sh.js

js slome.fr collected 2026-10-09 04:41:13 UTC 510 bytes, 1 lines download raw bytes

1import{E as i,b as s}from"./index-20260928T123922-sh.js";class n extends i{computeHeightAndSave(e){const{height:t}=e.getBoundingClientRect();e.parentElement?.style.setProperty("--element-height",`${t}px`)}onStart(){const e=this.firstElementChild;if(!e)throw new s({message:"No child element found",element:this});const t=new ResizeObserver(()=>{this.computeHeightAndSave(e)});this.addEffect(()=>(t.observe(e),()=>t.disconnect()))}}customElements.define("height-css-variable",n);export{n as HeightCSSVariable};

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.