We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b884bc commit 63e36eeCopy full SHA for 63e36ee
custom-implementation/src/main.tsx
@@ -119,9 +119,11 @@ const render = async () => {
119
(window as any).plugSDK.onEvent((payload: any) => {
120
switch (payload.type) {
121
case "ON_PLUG_WIDGET_READY":
122
+ console.log("ON_PLUG_WIDGET_READY");
123
(window as any).plugSDK.initSearchAgent();
124
document.addEventListener("keydown", function (event) {
125
if (event.key === "/") {
126
+ console.log("KEYDOWN");
127
event.preventDefault();
128
(window as any).plugSDK.toggleSearchAgent();
129
}
0 commit comments