Popup API Overview
Initialization
<script>
import { Popup } from "wx-svelte-core";
</script>
<!-- minimal configuration for initialization -->
<Popup>
<p>Some text here and there</p>
</Popup>
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
Popup Properties
area | sets an object relative to which a popup appears |
cancel | sets the function that closes a popup |
left | sets the left offset of a popup in pixels |
top | sets the top offset of a popup in pixels |