# BaseCheckmark

Checkbox and Radio Button Component

# Props

Prop name Description Type Values Default
markStyle choose the style string radio, checkbox 'radio'
label specify a descriptive label
this will not be displayed but is only there for usability purposes
TODO: for radio button label should actually be visible!
string - 'select'
radioValue specify a value for the radio button - if none is specified the label will be used to
determine if radio button should be active!
string - ''
showLabel define if label should be visible - default set false because
currently not needed in base project
boolean - false
v-model checkbox checked or radio button checked can be set from outside, default
value depending on type of selector
boolean|string - false
checkBoxSize set the size of the checkBox string large, small 'small'

# Events

Event name Properties Description
clicked undefined string, boolean - emitting boolean value for checkmark or radio value event emitted on radio button / checkmark click,
emitting input label

# Demo

Radio Button

Checkbox

Last Updated: 3/27/2023, 4:42:24 PM