Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to hide terminal in webcontainer template #13

Open
saurabhdaware opened this issue Nov 7, 2023 · 0 comments
Open

Option to hide terminal in webcontainer template #13

saurabhdaware opened this issue Nov 7, 2023 · 0 comments

Comments

@saurabhdaware
Copy link

I am using a webcontainer template (node template) with stackblitz sdk.

I was looking for a way to hide the terminal since its not very relevant for our usecase. I tried setting terminalHeight: 0 and hideDevTools: true but I am unable to hide it. Didn't see any other option.

void sdk.embedProject('sb-embed', javascriptProject, {
    height: 500,
    openFile: 'index.tsx',
    terminalHeight: 0,
    hideDevTools: true,
  });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant