pdfViewerEnabled property

bool get pdfViewerEnabled

The pdfViewerEnabled read-only property of the Navigator interface indicates whether the browser supports inline display of PDF files when navigating to them.

If inline viewing is not supported the PDF is downloaded and may then be handled by some external application.

Note: This method replaces a number of legacy methods of inferring support for inline viewing of PDF files.

Implementation

external bool get pdfViewerEnabled;