expandable( id: string, children: readonly ViewNode[], options: { collapsedLines: number; collapseText: string; expandText: string; },): ViewNode 参数
- id: string
- children: readonly ViewNode[]
- options: { collapsedLines: number; collapseText: string; expandText: string }
长文本展开控件;展开状态由宿主自持,不产生 Command 往返。