Prince Documentation
  • Buy Prince
  • Samples
  • Documentation
  • Help

›Reference Guide

Installation Guide

  • Getting Started
  • Your First Document
  • Installation Help

User Guide

  • Convert HTML to PDF
  • Styling
  • Paged Media
  • Generated Content
  • Scripting
  • Graphics
  • Prince Tips and Tricks
  • Help
  • Prince Input
  • Prince Output
  • Prince Networking
  • Server Integration
  • Prince for Books

Reference Guide

    CSS Support

    • Length & Angle Units
    • CSS Properties
    • CSS Selectors
    • CSS Media Queries
    • CSS Functional Expressions
    • CSS At-rules
    • Color Names
    • Supported CSS Specifications
  • JavaScript Support
  • Command-line Options
  • Miscellaneous

    • Page Size Keywords
    • Character Entities
  • Acknowledgements

JavaScript Support

Prince supports most of ECMAScript 5th edition (ES5), with the exception of strict mode. ES6 is not fully supported yet, and later editions of ECMAScript are not supported.

The following table shows supported JavaScript objects, methods and properties. For more details, see also JavaScript in Prince.

* objects, methods and properties marked with an asterisk and a darker background color shade are Prince extensions.

Objects, methods and properties with a line-through are deprecated, support might be removed in a future Prince version.

Toggle (open/close) all properties

← Supported CSS SpecificationsCommand-line Options →
Prince
Copyright © 2025 YesLogic Pty. Ltd.
About Us Privacy Policy Contact Us