FocusOverlayOptions
Defined in: ui/Input.ts:79
Focus overlay configuration for mobile/touch interactions FocusOverlayOptions
Example
Section titled “Example”const overlaySettings = { activeFilter: ['mobile', 'touch'], marginTop: 60, scale: 2.5, backing: { active: true, color: 0x0 }};
Properties
Section titled “Properties”activeFilter?
Section titled “activeFilter?”
optional
activeFilter:boolean
| () =>boolean
| ("mobile"
|"touch"
|"desktop"
)[]
Defined in: ui/Input.ts:85
Custom filter for when to show overlay
backing
Section titled “backing”backing:
object
Defined in: ui/Input.ts:91
Backing configuration
active
Section titled “active”active:
boolean
options
Section titled “options”options:
Partial
<ColorOptions
>
desktop
Section titled “desktop”desktop:
boolean
Defined in: ui/Input.ts:83
marginTop
Section titled “marginTop”marginTop:
number
Defined in: ui/Input.ts:89
Top margin for the overlay
mobile
Section titled “mobile”mobile:
boolean
Defined in: ui/Input.ts:81
Enable overlay for specific platforms
scale:
number
Defined in: ui/Input.ts:87
Scale factor for the overlay
touch:
boolean
Defined in: ui/Input.ts:82