From 0c2785ca3baf6463aa64b8016b8ba7cafb53ed5a Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 8 Aug 2026 15:56:58 +0200 Subject: [PATCH] fix: sliders in demo require reload to rerender CSS custom property changes (--pxicon-ap-size, --pxicon-mode) aren't observed by MutationObserver/ResizeObserver, so a live-mounted never rechecked its config. Add a pxicon:refresh document event + exported refreshAll() helper; demo calls it from its control handlers. --- examples/index.html | 3 ++- px-icon.js | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/examples/index.html b/examples/index.html index 2776d40..c735b88 100644 --- a/examples/index.html +++ b/examples/index.html @@ -170,7 +170,7 @@