Resize observer
E watch slotted elements and emit typed size changes without visible UI.
Formatters, copy/export, JSON viewer, dividers and other helpers.
lr-resize-observer
import '@aceshooting/lyra-ui/components/lr-resize-observer.js';Components wey relate
- 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.
- Byte formatter — E format byte size for locale, with adjustable unit step and precision.