Closed
Bug 897173
Opened 11 years ago
Closed 11 years ago
Add a way for calling a widget's item's methods
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 892605
People
(Reporter: fitzgen, Unassigned)
References
Details
For example, we want to set checkbox state on a given item, from a SideMenuWidget.
Reporter | ||
Comment 1•11 years ago
|
||
Victor: IIRC, we wanted to add a method like `callItemMethod(methodName, ...args)` or something to Widget and then the items that you push would have to implement `item.methodName(...args)` right?
Flags: needinfo?(vporof)
Comment 2•11 years ago
|
||
I would vote for the former approach, so we don't write two methods in both places for every new piece of functionality. It's pretty meta, but elegant enough. This should be a good first step towards bug 895514 and perfect for solving that bug you had with checking the checkboxes.
Flags: needinfo?(vporof)
Reporter | ||
Comment 3•11 years ago
|
||
Wait, my memory has become foggy, can you quickly outline what we planned on doing again? Sorry :-/
Reporter | ||
Comment 4•11 years ago
|
||
This work is subsumed by bug 892605
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•