city-casereport/miniprogram_npm/tdesign-miniprogram/back-top
2023-12-06 14:22:42 +08:00
..
back-top.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
back-top.js 户籍信息录入 2023-12-06 14:22:42 +08:00
back-top.json 户籍信息录入 2023-12-06 14:22:42 +08:00
back-top.wxml 户籍信息录入 2023-12-06 14:22:42 +08:00
back-top.wxss 户籍信息录入 2023-12-06 14:22:42 +08:00
props.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
props.js 户籍信息录入 2023-12-06 14:22:42 +08:00
README.en-US.md 户籍信息录入 2023-12-06 14:22:42 +08:00
README.md 户籍信息录入 2023-12-06 14:22:42 +08:00
type.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
type.js 户籍信息录入 2023-12-06 14:22:42 +08:00

:: BASE_DOC ::

API

BackTop Props

name type default description required
external-classes Array - ['t-class', 't-class-icon', 't-class-text'] N
visibility-height Number 200 - N
scroll-top Number 0 - N
fixed Boolean true - N
icon String / Boolean / Object / Slot - - N
text String '' - N
theme String round optionsround/half-round/round-dark/half-round-dark N

BackTop Events

name params description
to-top - -

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 -