Skip to content

命令面板页脚

@astryxdesign/core v0.7.1 · CommandPaletteFooter

使用方法 ​

CommandPalette 会自己渲染 CommandPaletteFooter,平时不用管。只有想换掉默认提示时,才需要往 footer 插槽里再放一个 CommandPaletteFooter。

ts
import { CommandPaletteFooter } from '@astryx-vue/core/CommandPalette'

解剖

部分说明
页脚承载默认提示或使用方内容的支撑区域。
快捷键默认画出来的导航、选中和关闭按键徽章。

示例 ​

常见的用法和不同的状态。

基础

什么内容都不放的页脚,显示组件自带的键盘提示。不给 CommandPaletteFooter 传内容,结果列表下面就还是方向键、Enter 和 Esc 那三行提示。