Optional
animationfalse
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
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
Enable/disable image animation