Intersection observer

E emit native intersection entries when slotted targets enter or leave visible area.

Formatters, copy/export, JSON viewer, dividers and other helpers.

lr-intersection-observer

import '@aceshooting/lyra-ui/components/lr-intersection-observer.js';

Read di guide (for English)

Components wey relate

  • Mutation observer — E watch slotted DOM for element or attribute changes and pass native records along.
  • Resize observer — E watch slotted elements and emit typed size changes without visible UI.
  • Copy button — Icon-only button wey copy text to clipboard and show checkmark feedback.
  • Diff view — E compare two strings by line and show colour-coded unified diff.
  • Element picker — E dey highlight element for page so you fit pick am with pointer or keyboard.
  • Divider — Semantic separator wey theme fit style for horizontal or vertical content.