Skip to content

Component.Form Checkbox

xandor edited this page Oct 13, 2017 · 1 revision
    @component('bsComp::form-checkbox', ['checked' => true])
       @slot('label', 'description for checkbox')
    @endcomponent

Parameters

Parameter Type Description
name string name of the input
checked bool false (default), true
class string additional css classes
id string html id

Slot

Slot Description
Default value; value will be 1 if empty
label label for the checkbox

Home

Components

Custom Components

Clone this wiki locally