Page - HopefulLlama/Bootstrap-Booklet GitHub Wiki

Constructors

Parameters Data Types Summaries
  1. id
  2. title
  3. bodyHTML
  1. Integer
  2. String
  3. String
This constructor should not be called directly. See BootstrapBooklet. FYI:
  • id is set by BootstrapBooklet's pageCounter value, which is incremented per page created
  • title specifies the title of the page
  • bodyHTML specifies the HTML to be used for the page's body

Actions on Construction

  • Sets own id property to the value of the parameter id
  • Sets own title property to the value of the parameter title
  • Sets own bodyHTML property to the value of the parameter bodyHTML

Field Summary

Property Data Type Summary
id Integer Set on creation and should not be modified. See BootstrapBooklet. Used in combination with BootstrapBooklet.id to uniquely reference this page on the HTML.
title String The title of the page. Will be used in the contents and page generation
bodyHTML String HTML to inject into the body of the panel generated by the page.

Function Summary

Function Parameters Return Type Summary
generate
  1. Integer: bookletId
  2. String: panelClasses
String Should not be called directly, but instead as part of BootstrapBooklet.generate(). See BootstrapBooklet. Returns a HTML string which is to be used as the HTML to generate this page.
⚠️ **GitHub.com Fallback** ⚠️