Closed Bug 1880481 Opened 2 years ago Closed 2 years ago

Create a story for panel-list submenu

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: hjones, Assigned: hjones)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 files)

Attached image sub-menu.png —

We support sub menus in panel-list, but we don't currently have this variant documented in Storybook. We should document it in order to make this functionality more discoverable and provide a place to look for code examples without having to port something from another place in Firefox.

This patch adds a story for panel-list submenus to document how to create them. It also amends the README with a small code example, and moves the submenu slot creation out of the constructor to the connectedCallback, since we can't reliably read attribute values in custom element constructors.

Assignee: nobody → hjones
Status: NEW → ASSIGNED
Whiteboard: [fidefe-reusable-components] → [recomp]
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/571c904172c1 Create a story for panel-list submenu r=reusable-components-reviewers,desktop-theme-reviewers,fxview-reviewers,emilio,sclements
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: