From cfc2a81e66ed790154633b8a35eb9feed5364df3 Mon Sep 17 00:00:00 2001 From: Dacre Denny Date: Mon, 12 Jun 2023 22:53:22 +1200 Subject: [PATCH] Update README.md Consistent use of `callback` for `offProcessed` and `offDetected` API methods --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b14c8cf..02dd18b 100644 --- a/README.md +++ b/README.md @@ -229,15 +229,15 @@ In contrast to the calls described above, this method does not rely on `getUserMedia` and operates on a single image instead. The provided callback is the same as in `onDetected` and contains the result `data` object. -### Quagga.offProcessed(handler) +### Quagga.offProcessed(callback) In case the `onProcessed` event is no longer relevant, `offProcessed` removes -the given `handler` from the event-queue. +the given `callback` from the event-queue. -### Quagga.offDetected(handler) +### Quagga.offDetected(callback) In case the `onDetected` event is no longer relevant, `offDetected` removes -the given `handler` from the event-queue. +the given `callback` from the event-queue. ## The result object