Skip to content

Instantly share code, notes, and snippets.

<let/div_width=0 />
<lifecycle onMount() {
const el = getEl()
div_width = el.clientWidth
} />
<div/getEl>
<h1>Test</h1>
</div>

Keybase proof

I hereby claim:

  • I am mpeg on github.
  • I am mpeg (https://keybase.io/mpeg) on keybase.
  • I have a public key whose fingerprint is D4CC BBFD C13D 38AA 494B 0E17 F2E2 0C70 8166 3CC4

To claim this, I am signing this object: