Closed (fixed)
Project:
Prototype
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Apr 2025 at 17:39 UTC
Updated:
3 Apr 2026 at 19:57 UTC
Jump to comment: Most recent
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)
- 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`
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
jldust commentedComment #5
jldust commentedThis has been merged in and will be included in the next tagged release.
Comment #6
jldust commentedComment #8
jldust commented