Landing

LandingCookiePreferences

The preferences dialog of the cookie banner, with a switch per category and the cookie table.

components/landing/LandingCookiePreferences.vue
Internal part
This is an internal part of LandingCookieBanner. You normally use it through LandingCookieBanner, but it is documented so you can customise or reuse it.

API

Props

Name
Type
Default
Description
categories
required
(LandingCookieCategory & { title: string; required: boolean; })[]—The categories to filter or group by.
initial
required
Record<string, boolean>—The initial choices.
policyLandingAction—A LandingAction to the policy page.
v-modelbooleanfalseThe selected value.

Events

Name
Payload
Description
@update:modelValue[value: boolean]Opened or closed.
@save[choices: Record<string, boolean>]The visitor saved the choices.
© 2026 melsami UI.
Developer documentation for melsami UI.