LiveAntd.Components.Checkbox (live_antd v0.1.0)

Checkbox Component.

API

  • [ ] autoFocus: If get focus when component mounted
  • [x] checked: Specifies whether the checkbox is selected
  • [ ] defaultChecked: Specifies the initial state: whether or not the checkbox is selected
  • [x] disabled: If disable checkbox
  • [ ] indeterminate: The indeterminate checked state of checkbox
  • [ ] onChange: The callback function that is triggered when the state changes

Example

<Checkbox checked={{ @checked }} />

Properties

  • click :event
  • checked :boolean
  • disabled :boolean

Link to this section Summary

Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.