2021.1

Table Of Contents
</div>
</fieldset>
</form>
</body>
</html>
JavaScript/jQuery
cc-preview-image-by-data-json.js
/* Content Creation Service - Create Preview Image (By Data) (JSON)
Example */
(function ($, c) {
"use strict";
$(function () {
c.setupExample();
var $quality = $("#quality"),
$archive = $("#archive"),
$bleed = $("#bleed"),
$pages = $("#pages"),
$viewPortWidth = $("#viewPortWidth"),
jsonData = null;
c.setupJsonDataFileInput($("#datafile"), function (data) {
jsonData = data });
$("#type")
.on("change", function (event) {
$quality.prop("disabled", ($(event.target).val()
=== "png"));
})
.trigger("change");
$pages
.on("change", function (event) {
c.setCustomInputValidity(event.target,
function (value) {
return c.validateNumericRange(value, false,
true);
},
Page 310