Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/toolkit/actors/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 794 B image not shown  

Quelle  ColorPickerParent.sys.mjs   Sprache: unbekannt

 
Untersuchungsergebnis.mjs Download desUnknown {[0] [0] [0]}

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { InputPickerParentCommon } from "./InputPickerParentCommon.sys.mjs";

const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
  ColorPickerPanel: "moz-src:///toolkit/modules/ColorPickerPanel.sys.mjs",
});

export class ColorPickerParent extends InputPickerParentCommon {
  constructor() {
    super("ColorPicker");
  }

  /**
   * A picker creator function called when showing a picker
   *
   * @param {XULElement} panel A panel element
   * @returns A panel object that manages the element
   */
  createPickerImpl(panel) {
    return new lazy.ColorPickerPanel(panel);
  }
}

[Dauer der Verarbeitung: 0.24 Sekunden, vorverarbeitet 2026-08-25]