Options

OptionDefaultParametersDescriptionNotes
arrowKeystruetrue/falseUse left and right arrow keys for controls. Esc to close.
controlstruetrue/falseDisplay next / prev control arrows
looptruetrue/falseAllows looping back to the beginning
maxWidthnullintegerMaximum amount of pixels for width
maxHeightnullintegerMaximum amount of pixels for height
maxScreen90integerMaximum percentage of screen sizeOverrides maxWidth and maxHeight
updateRsztruetrue/falseUpdate on window resize
callbacknullFunctionFunction to run after every panel is completeAlso called after update method
lockScrolltruetrue/falsePrevent the browser from scrolling when pop-up is open