Changes

Jump to navigation Jump to search

touch

10 bytes added, 15:47, 5 February 2023
m
no edit summary
Line 5: Line 5:  
The '''touch''' table contains :
 
The '''touch''' table contains :
 
: [[touch.enabled|enabled]] : Returns true if the platform supports touch, otherwise false. If touch is supported, it is recommended to use the ppi values to calculate touch target sizes.
 
: [[touch.enabled|enabled]] : Returns true if the platform supports touch, otherwise false. If touch is supported, it is recommended to use the ppi values to calculate touch target sizes.
: [[touch.isKeyboardVisible|isKeyboardVisible]]() : Returns true if any keyboard is visible (docked, oating and split keyboards).
+
: [[touch.isKeyboardVisible|isKeyboardVisible]]() : Returns true if any keyboard is visible (docked, undocked/floating and split keyboards).
 
: [[touch.isKeyboardAvailable|isKeyboardAvailable]] : Returns true if an on-screen keyboard is available on the platform, otherwise false.
 
: [[touch.isKeyboardAvailable|isKeyboardAvailable]] : Returns true if an on-screen keyboard is available on the platform, otherwise false.
 
: [[touch.showKeyboard|showKeyboard]](boolean) : Causes the docked ABC keyboard to appear on the screen if no keyboard is currently visible. Default is true.
 
: [[touch.showKeyboard|showKeyboard]](boolean) : Causes the docked ABC keyboard to appear on the screen if no keyboard is currently visible. Default is true.

Navigation menu