Example
Get the in-flight annotation while drawing.
instance.addEventListener("ink.drawing", (event: InkDrawingEvent) => {
console.log(event.annotation.lines.last()?.size);
});
Nutrient Web SDK
Get the in-flight annotation while drawing.
instance.addEventListener("ink.drawing", (event: InkDrawingEvent) => {
console.log(event.annotation.lines.last()?.size);
});
This event is emitted whenever new in-flight points are captured during an active ink stroke.