API Reference > @next-core/brick-types > BrickLifeCycle > onAnchorUnload
BrickLifeCycle.onAnchorUnload property
定义构件在页面渲染完成后,当页面 URL 中不包含非空的 anchor(URL hash 去掉前缀 #)时,需要处理的动作。
Signature:
onAnchorUnload?: BrickEventHandler | BrickEventHandler[];
Reference: BrickEventHandler