align
Description
defines the alignment of a dropdown relative to the inputType
string
Values
"start" | "center" | "end"
Default value
"start"
Example
<script>
import { Dropdown, Calendar, Text } from "wx-svelte-core";
let popup;
</script>
{#if popup }
<Dropdown position={"top"} align={"center"}>
<Calendar value={new Date(2023, 2, 15)} />
</Dropdown>
{/if}
Related article: Positioning and aligning Dropdown