Skip to content

Question: feature detection? #86

@doedje

Description

@doedje

What feature should I check for to see if Viewer.js will work in my target browser?
Is there a check in modernizr I can use?

I want to do something like this:

// pseudo code
if (modernizr.someCheck) {
  // show the document with Viewer.js
} else {
  // use old viewer to show the document
}

(and why is this not properly documented?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions