adding new doc page

This commit is contained in:
2023-10-22 23:53:57 +02:00
parent aaffacb265
commit 70b44cbd29
5 changed files with 20 additions and 1 deletions

View File

@ -1976,11 +1976,18 @@ export class UserAPI {
// =============================================================
// Oscilloscope Configuration
// =============================================================
public scope = (config: OscilloscopeConfig): void => {
/**
* Configures the oscilloscope.
* @param config - The configuration object
*/
this.app.osc = config;
// Dispatch the config to the old object so that missing options
// are still specified
this.app.osc = {
...this.app.osc,
...config,
};
};
}