jsdoc
This commit is contained in:
parent
cd27764a30
commit
bc295a777b
@ -13,10 +13,16 @@ export class Browser extends Helper {
|
|||||||
super()
|
super()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setter. Enables console debug logs for events
|
||||||
|
*/
|
||||||
set debugLogs(debug: boolean) {
|
set debugLogs(debug: boolean) {
|
||||||
this.debugLogs_ = debug
|
this.debugLogs_ = debug
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setter. Provides an ability to specify custom logger function to get special formatting. Using this enables ``debugLogs``
|
||||||
|
*/
|
||||||
set customLogger(
|
set customLogger(
|
||||||
fn: (method: string, eventName: string, ...args: unknown[]) => unknown,
|
fn: (method: string, eventName: string, ...args: unknown[]) => unknown,
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user