From 307617edcf57d2bffa6fe4b89bd223a1c26f0ba5 Mon Sep 17 00:00:00 2001 From: Vasco Asturiano Date: Mon, 11 Sep 2023 18:24:14 +0100 Subject: [PATCH] Adjust MD alignment --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c170b52c..bad7fb6c 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,12 @@ new SpeedTest({ configOptions }) | restart() | Clears the current results and restarts the measurements from the beginning. | ### Notification Events -| Event Method | Arguments | Description | -|------------------------|--------------------------------------------| :--: | -| onRunningChange | running: boolean | Invoked whenever the test engine starts or stops. The current state is included as a function argument. | -| onResultsChange | { type: string } | Invoked whenever any item changes in the results, usually indicating the completion of a measurement. The type of measurement that changed is included as an info attribute in the function argument. | -| onFinish | results: [Results](#results-object) | Invoked whenever the test engine finishes all the measurements. The final [results object](#results-object) is included as a function argument. | -| onError | error: string | Invoked whenever an error occurs during one of the measurements. The error details are included as a function argument. | +| Event Method | Arguments | Description | +| --- | --- | --- | +| onRunningChange | running: boolean | Invoked whenever the test engine starts or stops. The current state is included as a function argument. | +| onResultsChange | { type: string } | Invoked whenever any item changes in the results, usually indicating the completion of a measurement. The type of measurement that changed is included as an info attribute in the function argument. | +| onFinish | results: [Results](#results-object) | Invoked whenever the test engine finishes all the measurements. The final [results object](#results-object) is included as a function argument. | +| onError | error: string | Invoked whenever an error occurs during one of the measurements. The error details are included as a function argument. | ### Measurement config The specific measurements to be performed by the test engine (and their sequence) can be customized using the `measurements` config option. This should be an array of objects, each with a `type` field, plus additional fields specific to that measurement type. @@ -158,4 +158,4 @@ An instance object used to access the results of the speedtest measurements. The [build-size-img]: https://img.shields.io/bundlephobia/minzip/@cloudflare/speedtest [build-size-url]: https://bundlephobia.com/result?p=@cloudflare/speedtest [npm-downloads-img]: https://img.shields.io/npm/dt/@cloudflare/speedtest -[npm-downloads-url]: https://www.npmtrends.com/@cloudflare/speedtest \ No newline at end of file +[npm-downloads-url]: https://www.npmtrends.com/@cloudflare/speedtest