Contents

data

Data that you define that’s specific to an annotation.

Declaration

get data(): {};
set data(data: {});

Discussion

This is data of your choosing that you can assign to the annotation. It can be any JavaScript value, and defaults to an empty object.

See Also

Getting and setting data, titles, and the accessibility label