Skip to content
Scott Cummings edited this page Oct 31, 2013 · 1 revision

##Book Config Property cover Defines the specifics of the storybook cover page.

###Properties

  • background [Object] - the color and/or image of the cover page.
  • content [Array] - an array of content objects.

###Example JSON Config Definition cover: { background: { url: "images/cover.jpg" }, content: [ { type: "TextArea", x: 0, y: 25, align: "center", color: "#222222", size: 48, text: "Example Storybook" }, { type: "Sprite", x: 25, y: 80, numFrames: 10, frameDelay: 10, loop: true, url: "images/ball-roll.png" } ] }

Clone this wiki locally