megamenu_sdc-1.0.x-dev/components/menu_pane/menu_pane.component.yml
components/menu_pane/menu_pane.component.yml
'$schema': 'https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json'
name: MegaMenu Mobile Pane
status: stable
description: Mobile menu pane that contains everything that is loaded into the mobile pane when opened.
props:
type: object
properties:
menu_id:
type: string
title: Menu ID
description: ID of menu, used to share state with other menu SDCs
# @todo Add examples here.
examples: []
height_selector:
type: string
title: Height Selector
description: CSS selector for a child item to watch for height changes. When text starts to wrap inside this container, set the menu to always use mobile -- show hamburger, activate mobile styles, deactivate desktop
# @todo Add examples here.
examples: []
slots:
default:
title: Default
