Update example pages

This commit is contained in:
yanzexuan
2022-11-15 19:47:52 +08:00
parent 223b099fd6
commit c2c63c58eb
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@
viewer.setMarkups(markupData);
viewer.addEventListener(ViewerEvent.MarkupClicked, (data) => {
if (data.drawableData) {
if (data.markup) {
console.log("[Demo] Clicked on markup:", data);
}
});

View File

@ -139,7 +139,7 @@
registerClickEvent("ClearMarkups");
viewer.addEventListener(ViewerEvent.MarkupClicked, (data) => {
if (data.drawableData) {
if (data.markup) {
console.log("[Demo] Clicked on markup:", data);
}
});