Skip to content
Fantastic-admin 官方文档 (v5)
搜索文档
K
Main Navigation
文档
指南
组件
Appearance
Menu
Return to top
On this page
作者其他作品
Fantastic-startkit
简单好用的 Vue3 项目启动套件
One-step-admin
巧妙的管理系统框架
Fantastic-mobile
自成一派的 H5 框架
Are you an LLM? You can read better optimized documentation at /v5-docs/components/fa-search-bar.md for this page in Markdown format
SearchBar 搜索面板
Props
属性名
说明
类型
默认值
fold(v-model)
是否折叠
boolean
true
showToggle
是否显示切换按钮
boolean
true
background
是否显示背景
boolean
false
Slots
插槽名
说明
类型
default
自定义默认内容
{ fold: boolean, toggle: boolean }
Events
事件名
说明
回调参数
toggle
切换展开/收起状态时触发
() => { value: boolean }