---
title: "<ScriptLeafletPopup>"
description: "在 L.Popup 中渲染插槽 HTML。将其嵌套在标记内，或传递 position 以创建独立弹出窗口。使用响应式 open 属性控制可见性。"
canonical_url: "https://nuxt-scripts.zhcndoc.com/scripts/leaflet/api/popup"
last_updated: "2026-08-11T09:33:17.877Z"
---

在 `L.Popup` 中渲染插槽 HTML。将其嵌套在标记内，或传递 `position` 以创建独立弹出窗口。使用响应式 `open` 属性控制可见性。

<script-types filter="ScriptLeafletPopup" script-key="leaflet">



</script-types>
