I can get the number I’m after by listening to an event, but I want to know how to get this number outside the context of the event:
What I have so far:
diagram.addDiagramListener('ClipboardChanged', e => {
console.log(e.subject.toArray());
});
What I’m looking for, but can’t find, is something like this:
console.log(diagram.clipboard.subject.toArray());