Skip to main content

SideArea API Overview

Initialization

<script>
import { SideArea } from "wx-svelte-core";
</script>

<!-- minimal configuration for initialization -->
<SideArea>
<div class="window">
<!-- sidearea content -->
</div>
</SideArea>
tip

Visit the Features Guide to learn more about the control's functionality.

SideArea Properties

positiondefines the position of a sidearea appearing

SideArea Events

closefires on click outside the side area