WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/fab
yj dd589f646c 初始化 2024-11-20 17:29:49 +08:00
..
draggable 初始化 2024-11-20 17:29:49 +08:00
template 初始化 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
fab.d.ts 初始化 2024-11-20 17:29:49 +08:00
fab.js 初始化 2024-11-20 17:29:49 +08:00
fab.json 初始化 2024-11-20 17:29:49 +08:00
fab.wxml 初始化 2024-11-20 17:29:49 +08:00
fab.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

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 -