vvja-1.0.1/config/schema/vvja.schema.yml
config/schema/vvja.schema.yml
views.style.views_vvja:
type: views_style
label: 'Views Vanilla JavaScript Accordion'
mapping:
unique_id:
type: integer
label: 'Unique identifier'
single_toggle:
type: boolean
label: 'Show single toggle indicators'
global_toggle:
type: boolean
label: 'Show global toggle button'
first_toggle:
type: boolean
label: 'First panel open by default'
transition_speed:
type: float
label: 'Transition speed in seconds'
animation:
type: string
label: 'Animation type'
enable_css:
type: boolean
label: 'Enable CSS library'
exclusive_panel:
type: boolean
label: 'Exclusive panel mode'
accordion_item_width:
type: integer
label: 'Custom item width'
enable_deeplink:
type: boolean
label: 'Enable deep linking'
deeplink_identifier:
type: string
label: 'Deep link URL identifier'
constraints:
Regex:
pattern: '/^[a-z][a-z0-9-]*[a-z0-9]$/'
message: 'Must start with letter, contain only lowercase letters, numbers, and hyphens'
Length:
max: 20
