mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
Return instance on beforeRender, beforeFirstRender
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user