pulse method

JSPromise<JSBoolean> pulse(
  1. num value,
  2. num duration
)

The pulse() method of the GamepadHapticActuator interface makes the hardware pulse at a certain intensity for a specified duration.

Implementation

external JSPromise<JSBoolean> pulse(
  num value,
  num duration,
);