Code Monkey home page Code Monkey logo

pdfviewerwidget's Introduction

PDFViewerWidget

An extension to show a (very basic) PDF viewer.

This Extension is provided as-is and without warranty or support. It is not part of the PTC product suite and there is no PTC support.

Description

This extension provides a widget to show a (very basic) PDF viewer; the widget allows to provide a platform-independent user experience.

Properties

  • debugMode - BOOLEAN (default = false): if set to true it sends to the browser's JS console a set of information useful for debugging the widget
  • url - STRING (no default value): the URL to retrieve the PDF
  • showSizingButtons - BOOLEAN (default = true): true to display the resizing buttons

Services

  • Load: service to load the PDF

Events

  • Loaded: event to notify that the PDF has been loaded
  • Failed: event to notify that the PDF loading has failed

LocalizationTables

This extension adds the following localization token (Default, it and de languages):

  • PDFViewerWidget.pdfviewer.page (default = 'Page')
  • PDFViewerWidget.pdfviewer.fitpage (default = 'Fit Page')
  • PDFViewerWidget.pdfviewer.fitwidth (default = 'Fit Width')
  • PDFViewerWidget.pdfviewer.error (default = 'The file is not available or is not a valid PDF document')

Dependencies

Donate

If you would like to support the development of this and/or other extensions, consider making a donation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.