WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/fab/README.en-US.md

1.1 KiB
Raw Permalink Blame History

:: BASE_DOC ::

API

Fab Props

name type default description required
style String right: 16px; bottom: 32px; - N
custom-style Object - CSS(Cascading Style Sheets)used to set style on virtual component N
button-props Object - TypescriptButtonPropsButton API Documentssee more ts definition N
draggable String / Boolean false Typescriptboolean | FabDirectionEnum type FabDirectionEnum = 'all' | 'vertical' | 'horizontal'see more ts definition N
icon String - - N
text String - - N
using-custom-navbar Boolean false - N
y-bounds Array - TypescriptArray<string | number> N

Fab Events

name params description
click ({e: Event}) -

CSS Variables

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

Name Default Value Description
--td-fab-shadow @shadow-2 -