Optional
animationDirection of image animation
'clockwise'
Optional
animationEnable/disable image animation
false
Optional
backgroundBackground color of whole prompt (all css possibilities, like hexa color '#000000', 'red'...)
'#000000'
Optional
containerId of whole container prompt
'promptContainer'
Optional
hideHide/show image
false
Optional
hideHide/show description text
false
Optional
imageColor of device image (all css possibilities, like hexa color '#000000', 'red'...)
'#ffffff'
Optional
imageId of svg image
'promptImage'
Optional
imageSize of device image (all css units like px, em, rem, vh...)
'60vh' for portrait '30vh' for landscape
Optional
imagePhone style
'circle'
Optional
mobileTurn on/off automatic mobile/tablet detection When automatic detection is on, then prompt is show only on mobile/tablet devices
false
Optional
orientationThe orientation you want to force, if orientation is different, prompt is showed.
'landscape'
Optional
styleId of style tag, where all styles of this library are defined
'promptStyle'
Optional
textDescription text to show
'Please rotate your device'
Optional
textColor of description text (all css possibilities, like hexa color '#000000', 'red'...)
'#ffffff'
Optional
textFont of description text
'\'Arial Black\', \'Arial Bold\', Gadget, sans-serif'
Optional
textId of container with description text
'promptText'
Optional
textSize of description text (all css units like px, em, rem, vh...)
'10vh' for portrait '5vh' for landscape
Optional
zz-index of whole prompt
undefined
Generated using TypeDoc
Config interface to modify behaviour and style of prompt