# Module Spec：vab-full-screen（全屏切换）

module:
  id: vab-full-screen
  name: VabFullScreen（全屏切换）
  type: ui
  entrypoints:
    - library/components/VabFullScreen/index.vue

public_api:
  concept:
    - "点击图标切换全屏状态（useFullscreen().toggle）"

dependency_closure:
  runtime:
    - "@vueuse/core：useFullscreen（若项目通过 auto-import 或显式引入提供）"
    - "store-settings：theme.showFullScreen"
    - "VabIcon"

acceptance:
  - "theme.showFullScreen=true 时显示图标，点击可进入/退出全屏"

pitfalls:
  - "useFullscreen 的来源依赖工程约定（自动导入 vs 显式 import）"
