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`

Issue fork prototype-3517819

Command icon Show commands

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

jldust created an issue. See original summary.

jldust changed the visibility of the branch 3517819-components-standardize-js to hidden.

jldust’s picture

Status: Active » Needs review
jldust’s picture

Status: Needs review » Reviewed & tested by the community

This has been merged in and will be included in the next tagged release.

jldust’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

jldust’s picture

Status: Fixed » Closed (fixed)