Name Description Size
Chart.js A factory for creating charts. Example usage: let myChart = Chart.Pie(document, { ... }); 17650
cubic-bezier.css Based on Lea Verou www.cubic-bezier.com See https://github.com/LeaVerou/cubic-bezier 6168
CubicBezierPresets.js 2219
CubicBezierWidget.js CubicBezier data structure helper Accepts an array of coordinates and exposes a few useful getters 29198
filter-widget.css Main container: Displays the filters and presets in 2 columns 4949
FilterWidget.js This is a CSS Filter Editor widget used for Rule View's filter swatches 30883
linear-widget.css Timing Function Preview Widget 2067
LinearEasingFunctionWidget.js This is a chart-like editor for linear() easing function, used in the Rules View. 22972
moz.build 586
ShapesInContextEditor.js The ShapesInContextEditor: - communicates with the ShapesHighlighter actor from the server; - listens to events for shape change and hover point coming from the shape-highlighter; - writes shape value changes to the CSS declaration it was triggered from; - synchronises highlighting coordinate points on mouse over between the shapes highlighter and the shape value shown in the Rule view. It is instantiated once in HighlightersOverlay by calls to .getInContextEditor(). 12103
spectrum.css Mix-in classes 4484
Spectrum.js Spectrum creates a color picker widget in any container you give it. Simple usage example: const {Spectrum} = require("devtools/client/shared/widgets/Spectrum"); let s = new Spectrum(containerElement, [255, 126, 255, 1]); s.on("changed", (rgba, color) => { console.log("rgba(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + ", " + rgba[3] + ")"); }); s.show(); s.destroy(); Note that the color picker is hidden by default and you need to call show to make it appear. This 2 stages initialization helps in cases you are creating the color picker in a parent element that hasn't been appended anywhere yet or that is hidden. Calling show() when the parent element is appended and visible will allow spectrum to correctly initialize its various parts. Fires the following events: - changed : When the user changes the current color 11671
TableWidget.js A table widget with various features like resizble/toggleable columns, sorting, keyboard navigation etc. 58919
tooltip
TreeWidget.js A tree widget with keyboard navigation and collapsable structure. 18400
view-helpers.js Helper for draining a rapid succession of events and invoking a callback once everything settles down. @param string id A string identifier for the named timeout. @param number wait The amount of milliseconds to wait after no more events are fired. @param function callback Invoked when no more events are fired after the specified time. 8351
widgets.css BreacrumbsWidget 1199