jkret.blogg.se

Angular 4 docs google drive
Angular 4 docs google drive






angular 4 docs google drive
  1. #Angular 4 docs google drive pdf#
  2. #Angular 4 docs google drive install#

Only files under 25 MB can be previewed with the Google Drive viewer. Can be used to show progress while loading Loaded: google only, notifies when iframe is loaded. GoogleMaxChecks = 5 | max number of retries GoogleCheckInterval = 3000 | The interval in milliseconds that is checked whether the iframe is loaded. GoogleCheckContentLoaded = true | If true it will check by interval if the content is loaded. If loading pdf's and Word documents, seems to work now with this hack let me know via a Github issue. There are some issues loading document in the google viewer. If the site is already published to public server, then pass that url and if will replace localhost by the other url.

  • overrideLocalhost: documents from the assets folder are not publicly available and therefor won't show in an external viewer (google, office).
  • angular 4 docs google drive

    This really hides the button but you'll see a white block while loading for the google viewer. popout-hide: see popup, instead of an transparent overlay a white one.The popout button is still visible (for google during a few seconds) but not clickable. popout: adds an overlay over googles popout button or office popout and menu which disables just this button/menu but keeps giving the possibility to select text.all: adds an overlay to the whole iframe, which makes nothing in the document clickable/selectable.disableContent: 'none' | 'all' | 'popout' | 'popout-hide' = 'none':.

    angular 4 docs google drive

    Only use this option for other viewers then google or office.

  • viewerUrl: only for viewer: 'url' location of the document renderer.
  • #Angular 4 docs google drive pdf#

    viewer: google (default), office, mammoth, pdf or url.

    #Angular 4 docs google drive install#

    Pdf files and word document that are not publicly available can be shown using the mammoth viewer or pdf viewer by passing an objectUrl.Ĭhanges Install the NPM Module npm install ngx-doc-viewer -save This component can be used to show several different document types in an Angular app.ĭocuments that are publicly available can be shown in an iframe using the google or office document viewer.








    Angular 4 docs google drive