Files
2023-08-18 17:32:18 +08:00

947 B
Raw Blame History

:: BASE_DOC ::

API

BackTop Props

name type default description required
external-classes Array - ['t-class', 't-class-icon', 't-class-text'] 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 -