Mutation observer
E watch slotted DOM for element or attribute changes and pass native records along.
Formatters, copy/export, JSON viewer, dividers and other helpers.
lr-mutation-observer
import '@aceshooting/lyra-ui/components/lr-mutation-observer.js';Components wey relate
- 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.
- Export button — Download table data as CSV or JSON, directly or from format menu.