Files
2025-10-01 10:01:52 +08:00

27 lines
735 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:: BASE_DOC ::
## API
### Sticky Props
name | type | default | description | required
-- | -- | -- | -- | --
style | Object | - | CSS(Cascading Style Sheets) | N
custom-style | Object | - | CSS(Cascading Style Sheets)used to set style on virtual component | N
container | Function | - | \- | N
disabled | Boolean | false | \- | N
offset-top | String / Number | 0 | \- | N
z-index | Number | 99 | \- | N
### Sticky Events
name | params | description
-- | -- | --
scroll | `(detail: { scrollTop: number, isFixed: boolean })` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)
### Sticky External Classes
className | Description
-- | --
t-class | \-
t-class-content | \-