Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

fix(wechat): cover-view #2002

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface CoverViewProps extends BaseProps {
/** 设置顶部滚动偏移量,仅在设置了 overflow-y: scroll 成为滚动元素后生效 2.1.0 */
scrollTop?: number | string;
markerId?: string;
slot?: string;
}

/**
Expand Down
1 change: 1 addition & 0 deletions packages/remax-wechat/src/hostComponents/CoverView/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const alias = {
className: 'class',
style: 'style',
animation: 'animation',
slot: 'slot',
scrollTop: 'scroll-top',
markerId: 'marker-id',
onTap: 'bindtap',
Expand Down