Skip to content

GhostDropdownMenuCheckboxItem reference ​

Package: @ghostvue/vue. Status: experimental (stability policy).

Public GhostDropdownMenuCheckboxItem component.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostDropdownMenuCheckboxItemElement"div"NoDeclared prop `as`.
checkedboolean—NoDeclared prop `checked`.
defaultCheckedbooleanfalseNoDeclared prop `defaultChecked`.
disabledbooleanfalseNoDeclared prop `disabled`.
modelValueboolean—NoSame controlled state as `checked`, so plain `v-model` works like it does on `GhostCheckbox` and `GhostSwitch`. `checked` wins when both are set.

Emits ​

None declared.

Models ​

PropEventTypeDescription
checkedupdate:checkedbooleanv-model binding for `checked`.
modelValueupdate:modelValuebooleanv-model binding for `modelValue`.

Slots ​

NameDescription
defaultPrimary content.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidExposed method `blur`.
elementHTMLElement | nullExposed property `element`.
focus(options?: FocusOptions) => voidExposed method `focus`.

Parts and data attributes ​

AttributeValueDescription
data-partcheckbox-itemThe dropdown menu item element with role=menuitemcheckbox.
data-statecheckedThe item is checked.
data-stateuncheckedThe item is not checked.
data-disabledpresentPresent while the item is disabled, independent of the checked data-state.

CSS variables ​

None declared.

Accessibility ​

Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.