Kai's Notes

Search

SearchSearch
      • Create a New Font in FontForge
      • Editing a Glyph in FontForge
      • Export Font to File in FontForge
      • Fix errors in FontForge
      • FontForge
      • Hide unused glyphs in FontForge
      • How to Generate Accented Glyphs in FontForge
      • Kerning Accented Glyphs in FontForge
      • Kerning in FontForge
      • Ligatures in FontForge
      • Move all glyphs down in FontForge
      • Open a font in FontForge
      • Python fix_font script
      • Save as sfd in FontForge
      • Abyss notes
      • Ascent notes
      • Bind notes
      • Breeze notes
      • Corrode notes
      • Fracture notes
      • Haven notes
      • Icebox notes
      • Lotus notes
      • Pearl Notes
      • Split notes
      • Sunset notes
      • Valorant Gunfight Basics
    • Arduino Bluetooth with NodeJS
    • bottom fade css
    • Cloudflare tunnels to access Immich from anywhere on TrueNAS Scale
    • CSS triangles
    • Custom scrollbar
    • Disable double tap to zoom
    • events in Tauri
    • exe names in electron with custom icon
    • font-face
    • Format dates in JavaScript
    • Gradient text
    • GROQ stuff
    • How to make a font
    • Icomoon fonts
    • IntersectionObserver
    • line-clamp
    • Math on mapped arrays
    • Min and max columns with CSS grid
    • netlify.toml
    • Page breaks in Obsidian
    • Preload fonts
    • Responsive images
    • Rust packages
    • Sticky footer
    • Svelte support for better comments
    • SVG Glyphs in Figma
    • SVG morphing animation tips
    • Tags post-commit hook
Home

❯

IntersectionObserver

IntersectionObserver

May 12, 20241 min read

  • useful
  • coding/js
const observer = new IntersectionObserver(entries => {
	 if (!entries[0].isIntersecting) { // Return if the element isn't on screen
		 return;
	 }
 
 
 
 }, {
	 rootMargin: '0px 0px 200px', // margin on the root to check for intersection
	 threshold: 1
  }); 
 
  observer.observe(<element>);

https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API

usefuljs

Graph View

Backlinks

  • No backlinks found

Created with Quartz v4.2.3 © 2025

  • GitHub
  • Discord Community