/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// This is loaded into chrome windows with the subscript loader. Wrap in // a block to prevent accidentally leaking globals onto `window`.
{
ChromeUtils.defineESModuleGetters(this, {
ScreenshotsUtils: "moz-src:///browser/components/screenshots/ScreenshotsUtils.sys.mjs",
});
class ScreenshotsButtons extends MozXULElement { static #template = null;
static get fragment() { if (!ScreenshotsButtons.#template) {
ScreenshotsButtons.#template = MozXULElement.parseXULToFragment(
ScreenshotsButtons.markup
);
} return ScreenshotsButtons.#template;
}
get buttonGroup() { returnthis.shadowRoot?.querySelector("moz-button-group");
}
get visibleButton() { returnthis.shadowRoot?.getElementById("visible-page");
}
get fullpageButton() { returnthis.shadowRoot?.getElementById("full-page");
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.