mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
[Editor] Add the telemetry for the new alt text (bug 1912500)
This commit is contained in:
parent
4367fc1bc0
commit
00305184b5
5 changed files with 144 additions and 27 deletions
|
@ -75,6 +75,13 @@ class AnnotationEditorParams {
|
|||
dispatchEvent("INK_OPACITY", this.valueAsNumber);
|
||||
});
|
||||
editorStampAddImage.addEventListener("click", () => {
|
||||
this.eventBus.dispatch("reporttelemetry", {
|
||||
source: this,
|
||||
details: {
|
||||
type: "editing",
|
||||
data: { action: "pdfjs.image.add_image_click" },
|
||||
},
|
||||
});
|
||||
dispatchEvent("CREATE");
|
||||
});
|
||||
editorFreeHighlightThickness.addEventListener("input", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue