使用范围:UI2
Contents
component Affix ($UI/comp/antd/components/Affix/Affix) extends $UI/comp/antd/components/antd/AntdComponent
Constructor Top
Affix () |
Constructor details
Top
public
Affix
()
使用场景:当内容区域比较长,需要滚动页面时,这部分内容对应的操作或者导航需要在滚动范围内始终展现。常用于侧边菜单和按钮组合。
使用方法:将需要固定的元素添加至组件内,设置顶部或底部的偏移量可调整固定的位置,目标元素类名为滚动元素的class名。
public
Affix
()