Skip to content

Commit 893c51e

Browse files
committed
Send message when ready
1 parent dfe8ac2 commit 893c51e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/extension/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ const plugin: JupyterFrontEndPlugin<void> = {
5454

5555
const endpoint = windowEndpoint(self.parent);
5656
expose(api, endpoint);
57+
58+
app.started.then(() => {
59+
window.parent?.postMessage('extension-loaded', '*');
60+
});
5761
}
5862
};
5963

0 commit comments

Comments
 (0)