Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to preview a pdf document in react

  <object data="http://africau.edu/images/default/sample.pdf" type="application/pdf" width="100%" height="100%">
      <p>Alternative text - include a link <a href="http://africau.edu/images/default/sample.pdf">to the PDF!</a></p>
  </object>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #preview #pdf #document #react
ADD COMMENT
Topic
Name
9+3 =