mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-21 00:23:02 +08:00
Return instance on beforeRender, beforeFirstRender
This commit is contained in:
parent
ac9e2a0b89
commit
12c149ca66
@ -1336,7 +1336,7 @@ class SimpleKeyboard {
|
||||
}
|
||||
|
||||
if (typeof this.options.beforeFirstRender === "function")
|
||||
this.options.beforeFirstRender();
|
||||
this.options.beforeFirstRender(this);
|
||||
|
||||
/**
|
||||
* Notify about PointerEvents usage
|
||||
@ -1369,7 +1369,7 @@ class SimpleKeyboard {
|
||||
*/
|
||||
beforeRender() {
|
||||
if (typeof this.options.beforeRender === "function")
|
||||
this.options.beforeRender();
|
||||
this.options.beforeRender(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user