mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Add Tooltip/TooltipTrigger/TooltipContent, data-tooltip attributes, Portal placement with border arrow, C attach helpers, docs, and tests.
15 lines
336 B
TypeScript
15 lines
336 B
TypeScript
import { widgetFields, FieldData } from "./widget";
|
|
|
|
export const tooltipFields: FieldData[] = [
|
|
...widgetFields,
|
|
{
|
|
name: "delay",
|
|
type: "number",
|
|
default: "0",
|
|
description: {
|
|
en: "Delay before showing the tooltip, in milliseconds.",
|
|
"zh-CN": "显示提示前的延迟,单位毫秒。",
|
|
},
|
|
},
|
|
];
|