Skip to main content

Checkbox Group API Overview

Initialization

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

<script>
let options = [
{ id: 1, label: "Option 1" },
{ id: 2, label: "Option 2" },
// more options
];
</script>

<CheckboxGroup {options} />
tip
  • Visit the Features Guide to learn more about the control's functionality.
  • Explore the samples to visualize the available features.

Checkbox Group Properties

optionsspecifies an array of checkboxes to be grouped
typesets the type of checkboxes' grouping
valuedefines the initially checked checkboxes
OSZAR »