跳到正文Skip to content

浮层插槽Overlay Slot OverlaySlot

在 #overlay-layer 内声明式挂载浮层Declarative overlay mount inside #overlay-layer

浮层Overlay Vue 组件Vue component

实时示例Live example

活体样例,可直接交互(点开浮层 / 下拉 / 试试键盘)——与组件画廊同源,切主题会同步。Interactive sample straight from the gallery (open overlays, dropdowns, try the keyboard); the theme stays in sync. 新标签打开 ↗Open in new tab ↗ · 看完整画廊Full gallery

PropsProps1

名称Name类型Type必填Required默认值Default说明Notes
entry OverlayEntry 是yes —

依赖Dependencies

overlayState

源码Source

vue/overlay/OverlaySlot.vue 在 GitHub 上查看View on GitHub ↗