Class: loadpage

loadpage

new loadpage(pageNr, onloadEvent, fragment, dontStartJustNow) → {object}

PAGE LOADING. Here it will really start a request or return a cached page
Parameters:
Name Type Description
pageNr string the page number or subreport number to load
onloadEvent function a function to call when the report page has finished
fragment string an anchor fragment to use
dontStartJustNow boolean true if the page request should start loading whan constructed
Source:
Returns:
page loading object
Type
object

Methods

cancelLoading()

Cancel loading of the AJAX request
Source:

ptToPx(sizeInPtOrPx)

Convert pt to px. if the entry already had px, nothing will be done.
Parameters:
Name Type Description
sizeInPtOrPx size in pt or px
Source:

restartLoading()

restart loading of the current loadpage object. Will also reset the cache
Source:

setPageContent(page) → {boolean}

Set a page content to the current tab
Parameters:
Name Type Description
page object the page from the cache
Source:
Returns:
true if successfull
Type
boolean

startLoading()

Start loading of the current loadpage object
Source:

stopLoading()

Stop loading of the current loadpage object
Source: