[With code] Create online pdf annotation（pdf highlight, pdf underline) based on pdf.js
I have figured out the best solution of pdf.js annotation, only use pdf.js dist, very easy to import into your project ! Demo : https://demos.libertynlp.com/#/pdfjs-annotation.
We have introduced how to set global parameters for Vue axios and how to execute a network request, this post will introduce: How to use Vue axios to carry Javascirpt Object data?
How to execute a synchronous Vue axios network request?
Through the previous posts, we know how to set request headers and global parameters for Vue axios. This post will introduce: How to use Vue axios to execute synchronous network request?
How to catch and handle Vue axios error?
It is very important to reasonably catch network error and report. This post will introduce: ① How to catch Vue axios error? ② How to notify the user? ③ How to notify website maintenance personnel?
How to set request timeout and header for Vue axios?
When we use Vue axios to initiate a request, we may need to do some global configuration. This post will introduce : ① How to add timeout to axios request? ② How to add request header to axios?
How to get HTML elements by using JQuery?
In many cases, we need to get HTML elements. This post will introduce: How to use JQury to get elements by id, class, tagname, xpath?