browser-sidebar.js |
SidebarController handles logic such as toggling sidebar panels,
dynamically adding menubar menu items for the View -> Sidebar menu,
and provides APIs for sidebar extensions, etc.
|
79654 |
docs |
|
|
jar.mn |
|
1188 |
metrics.yaml |
|
19965 |
moz.build |
|
699 |
sidebar-customize.css |
|
2219 |
sidebar-customize.html |
|
1065 |
sidebar-customize.mjs |
|
11941 |
sidebar-history.css |
|
927 |
sidebar-history.html |
|
1531 |
sidebar-history.mjs |
Only show multiselect commands when multiple items are selected.
|
12799 |
sidebar-main.css |
stylelint-disable-next-line media-query-no-invalid |
5379 |
sidebar-main.mjs |
Sidebar with expanded and collapsed states that provides entry points
to various sidebar panels and sidebar extensions.
|
29649 |
sidebar-page.mjs |
Check if this event comes from an element of the specified type. If it
does, return that element.
@param {Event} e
The event to check.
@param {string} localName
The name of the element to match.
@returns {Element | null}
The matching element, or `null` if no match is found.
|
6225 |
sidebar-panel-header.css |
|
611 |
sidebar-panel-header.mjs |
|
1416 |
sidebar-pins-promo.css |
Start hiding icons as the sidebar width shrinks. |
2741 |
sidebar-pins-promo.mjs |
A promotional card for drag-to-pin tabs.
It is only displayed in the expanded sidebar state to vertical tab users who
do not have any pinned tabs.
The card can be dismissed manually by clicking the X button. It is
automatically dismissed by adding a pin via a context menu or by dragging
the tab over the card and pinning.
|
4976 |
sidebar-syncedtabs.html |
|
1726 |
sidebar-syncedtabs.mjs |
The template shown when the list of synced devices is currently
unavailable.
@param {object} options
@param {string} options.action
@param {string} options.buttonLabel
@param {string[]} options.descriptionArray
@param {string} options.descriptionLink
@param {string} options.header
@param {string} options.mainImageUrl
@returns {TemplateResult}
|
9928 |
sidebar-tab-list.css |
|
573 |
sidebar-tab-list.mjs |
Only handle vertical navigation in sidebar.
@param {KeyboardEvent} e
|
8149 |
sidebar-tab-row.css |
|
878 |
sidebar.css |
these illustrations need a larger width otherwise they look too small |
2632 |
SidebarManager.sys.mjs |
Handle startup tasks like telemetry, adding listeners.
|
11897 |
SidebarState.sys.mjs |
The properties that make up a sidebar's UI state.
@typedef {object} SidebarStateProps
@property {boolean} command
The id of the current sidebar panel. The panel may be closed and still have a command value.
Re-opening the sidebar panel will then load the current command id.
@property {boolean} panelOpen
Whether there is an open panel.
@property {number} panelWidth
Current width of the sidebar panel.
@property {boolean} launcherVisible
Whether the launcher is visible.
This is always true when the sidebar.visibility pref value is "always-show", and toggle between true/false when visibility is "hide-sidebar"
@property {boolean} launcherExpanded
Whether the launcher is expanded.
When sidebar.visibility pref value is "always-show", the toolbar button serves to toggle this property
@property {boolean} launcherDragActive
Whether the launcher is currently being dragged.
@property {boolean} pinnedTabsDragActive
Whether the pinned tabs container is currently being dragged.
@property {boolean} toolsDragActive
Whether the tools container is currently being dragged.
@property {boolean} launcherHoverActive
Whether the launcher is currently being hovered.
@property {number} launcherWidth
Current width of the sidebar launcher.
@property {number} expandedLauncherWidth
Width of the expanded launcher
@property {number} pinnedTabsHeight
Current height of the pinned tabs container
@property {number} expandedPinnedTabsHeight
Height of the pinned tabs container when the sidebar is expanded
@property {number} collapsedPinnedTabsHeight
Height of the pinned tabs container when the sidebar is collapsed
@property {number} toolsHeight
Current height of the tools container
@property {number} expandedToolsHeight
Height of the tools container when the sidebar is expanded
@property {number} collapsedToolsHeight
Height of the tools container when the sidebar is collapsed
|
24455 |
SidebarTreeView.sys.mjs |
A controller that enables selection and keyboard navigation within a "tree"
view in the sidebar. This tree represents any hierarchical structure of
URLs, such as those from synced tabs or history visits.
The host component should have the following queries:
- `cards` for the `<moz-card>` instances of collapsible containers.
@implements {ReactiveController}
|
7094 |
tests |
|
|
triage.json |
|
797 |