Using html and javascript apis to extend dps – Adobe Digital Publishing Suite User Manual
Page 152
Using HTML and JavaScript APIs to extend DPS
DPS offers several methods for using HTML and JavaScript APIs to enhance the user experience. When you create HTML content for a custom
library, a custom store, or an entitlement banner, you can reference the
.
For HTML content within a folio, such as an HTML article or a Web Content overlay, you can reference the
includes some some features available in the Library and Store API as well as APIs for geolocation, camera, calendar, and device detection.
Any HTML content you specify in DPS App Builder can reference the Library and Store API. HTML articles or Web Content overlays in a folio can
reference the Reading API.
The following features provide access to the JavaScript APIs.
Custom library
You can replace the native implementation of the viewer library using HTML, JavaScript, and CSS to fit your needs. By accessing APIs, you can
duplicate e-commerce functionality found in the default library and customize it to suit your project design. For information about creating custom
libraries and stores, see
.
Library and Store API
Reading API
Custom library
*
Custom store
*
Custom slots (web views)
*
Entitlement banner
*
Welcome Screen
*
Information Screen
*
*
Web Content overlay
*
HTML article
*
149