Components: Standardize JS - Menu

Created on 7 April 2025, 22 days ago

Problem/Motivation

We would like to standardize the structure and formats around our components with JavaScript

The menu component is complex containing several files
- Menu Aria Controls
- Menu Mobile Controls
- Menu (core file)

Remaining tasks

- Breakout functions
- Include docblocks for each new function
- Drupal specific elements will occur inside the attached behaviour
- Should leverage only vanilla JS
- Review naming conventions, specifically event handling
- Should leverage `let` or `const` instead of `var`

πŸ“Œ Task
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jldust

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024