Find
C
ase-sensitive
R
egexp search
Path
Showing
91e2514c
:
Bug
1928032
- Improve pagination mechanism and rework tests. r=edicharry
comm-central
/
mail
/
base
/
content
/
widgets
/
listbox
Navigation
Enable keyboard shortcuts
Name
Description
Size
Coverage
orderable-tree-listbox.mjs
An ordered list with the functionality of TreeListboxMixin, plus the ability to re-order the top-level list by drag-and-drop/Alt+Up/Alt+Down. NOTE: All children of this element should be HTML. If there are XUL elements, you're gonna have a bad time. @tagname orderable-tree-listbox @fires CustomEvent#ordered - Fired when the list is re-ordered. The detail field contains the row that was re-ordered. @augments {HTMLOListElement} @mixes {TreeListboxMixin}
9388
-
tree-listbox-mixin.mjs
Provides keyboard and mouse interaction to a (possibly nested) list. It is intended for lists with a small number (up to 1000?) of items. Only one item can be selected at a time. Maintenance of the items in the list is not managed here. Styling of the list is not managed here. Expects the tree itself to scroll and not any of its parents. List items must have at least one child which contains the main content of the list item. The following class names apply to list items: - selected: Indicates the currently selected list item. - children: If the list item has descendants. - collapsed: If the list item's descendants are hidden. List items can provide their own twisty element, which will operate when clicked on if given the class name "twisty". If a list item can't be selected it should have the "unselectable" class. @mixin @fires CustomEvent#collapsed - Fired on a row when it is collapsed. Bubbles. @fires CustomEvent#expanded - Fired on a row when it is expanded. Bubbles. @fires CustomEvent#select - Fired when the selection changes. @property {"tree"|"listbox"} role - Must be either tree or listbox, depending on the mode of the widget.
26704
-
tree-listbox.mjs
An unordered list with the functionality of TreeListboxMixin. @tagname tree-listbox @augments {HTMLUListElement} @mixes {TreeListboxMixin}
590
-