From abd82fae7276329343d94eec4be011219bef0d4d Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 7 Aug 2025 16:12:51 -0400 Subject: [PATCH] fix on-intersect attribute generator --- src/datastar_py/attributes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datastar_py/attributes.py b/src/datastar_py/attributes.py index 0967fb0..40faa7b 100644 --- a/src/datastar_py/attributes.py +++ b/src/datastar_py/attributes.py @@ -642,6 +642,8 @@ def focus(self) -> Self: class OnIntersectAttr(BaseAttr, TimingMod, DelayMod, ViewtransitionMod): + _attr = "on-intersect" + @property def once(self) -> Self: """Only trigger the event listener once."""