Closed cdumez closed 1 year ago
It is currently not marked as nullable in the Web DIL here:
However, the specification for "Construction" seems to indicate it can be null:
Add new steps to a new Gamepad: If gamepad has a vibration actuator that can play effects with type "dual-rumble", initialize gamepad's vibrationActuator attribute to a new GamepadHapticActuator with "dual-rumble". Otherwise, initialize gamepad's vibrationActuator attribute to null.
Add new steps to a new Gamepad:
If gamepad has a vibration actuator that can play effects with type "dual-rumble", initialize gamepad's vibrationActuator attribute to a new GamepadHapticActuator with "dual-rumble". Otherwise, initialize gamepad's vibrationActuator attribute to null.
cc @marcoscaceres
It is currently not marked as nullable in the Web DIL here:
However, the specification for "Construction" seems to indicate it can be null: