logo

Pacis

Github
  1. Docs
  2. Checkbox

Checkbox

A control that allows the user to toggle between checked and not checked.

Usage

import (
	. "github.com/canpacis/pacis-ui/components"
)
Checkbox()

Examples

With label

Checkbox(Text("Label"))

With an event handler

Checkbox(On("changed", "alert($event.detail.value)")),