27 lines
735 B
Markdown
27 lines
735 B
Markdown
:: 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 | \-
|