Skip to main content

StickyHeader

StickyHeader container msv >= 4.35

Example

bxml

<sticky-header>
<view class="header" style="background-color: red;"></view>
</sticky-header>

Props

NameTypeDescriptionDefault
offset-topnumberSpecifies the style class to press down on. when hover-class="none" There is no click state effect0
paddingarraySpecifies whether to prevent this node's ancestor from clicking[0,0,0,0]