update filament to v4.1

This commit is contained in:
xiaomlove
2025-10-02 14:58:30 +07:00
parent 0d96380d60
commit 4f597e93dd
14 changed files with 199 additions and 271 deletions
+1 -1
View File
@@ -1 +1 @@
var o=()=>({isSticky:!1,init(){this.evaluatePageScrollPosition()},evaluatePageScrollPosition(){let i=this.$el.getBoundingClientRect(),t=i.top>window.innerHeight,e=i.top<window.innerHeight&&i.bottom>window.innerHeight;this.isSticky=t||e}});export{o as default};
var i=()=>({isSticky:!1,enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1}});export{i as default};