WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/back-top
yj dd589f646c 初始化 2024-11-20 17:29:49 +08:00
..
README.en-US.md 初始化 2024-11-20 17:29:49 +08:00
README.md 初始化 2024-11-20 17:29:49 +08:00
back-top.d.ts 初始化 2024-11-20 17:29:49 +08:00
back-top.js 初始化 2024-11-20 17:29:49 +08:00
back-top.json 初始化 2024-11-20 17:29:49 +08:00
back-top.wxml 初始化 2024-11-20 17:29:49 +08:00
back-top.wxss 初始化 2024-11-20 17:29:49 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js 初始化 2024-11-20 17:29:49 +08:00
type.d.ts 初始化 2024-11-20 17:29:49 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

README.en-US.md

:: BASE_DOC ::

API

BackTop 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
fixed Boolean true - N
icon String / Boolean / Object / Slot true see more ts definition N
scroll-top Number 0 - N
text String '' - N
theme String round options: round/half-round/round-dark/half-round-dark N
visibility-height Number 200 - N

BackTop Events

name params description
to-top - -

BackTop External Classes

className Description
t-class -
t-class-icon -
t-class-text -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles.

Name Default Value Description
--td-back-top-round-bg-color @font-white-1 -
--td-back-top-round-border-color @component-border -
--td-back-top-round-border-radius @radius-circle -
--td-back-top-round-color @font-gray-1 -
--td-back-top-round-dark-bg-color @gray-color-14 -
--td-back-top-round-dark-color @font-white-1 -