Files
Liu 2ac38a6ca6 feat(widgets): add tooltip widget
Add Tooltip/TooltipTrigger/TooltipContent, data-tooltip attributes, Portal placement with border arrow, C attach helpers, docs, and tests.
2026-10-28 23:40:30 +08:00

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": "显示提示前的延迟,单位毫秒。",
},
},
];