Don't automatically focus Freetext annotation after creating it

31 views
Skip to first unread message

Matt Parizeau

unread,
Dec 10, 2014, 7:26:57 PM12/10/14
to pdfnet-w...@googlegroups.com
Q:

I'm adding a Freetext annotation programmatically and would prefer not to have it focused.  Can I give focus to something else?

A:

To remove the focus you could just call this immediately after adding the annotation:
document.activeElement.blur();

Reply all
Reply to author
Forward
0 new messages