GithubHelp home page GithubHelp logo

Embedding a Zapp about zapp.run HOT 5 CLOSED

Ehesp avatar Ehesp commented on August 22, 2024 5
Embedding a Zapp

from zapp.run.

Comments (5)

Ehesp avatar Ehesp commented on August 22, 2024 4

There will be a split query parameter to determine the split between editor and preview. This can be set to 0 to show the preview , or 100 to show just the editor, 50 for split down the middle (etc)

There will also be no left menu, instead a small menu icon to open the side menu with just the project info + file editor.

from zapp.run.

Ehesp avatar Ehesp commented on August 22, 2024 2

You can see how it's starting to shape up here:

https://zapp.run/embed/flutter

Obviously this won't work yet for embedding while in EAP - but feedback welcome!

For example, you can do:

https://zapp.run/embed/flutter?split=0 - preview only
https://zapp.run/embed/flutter?split=100 - editor only
https://zapp.run/embed/flutter?theme=light - forced theme (vs user default)

These will be automatically added to the URL preview in the UI but you get the idea.

from zapp.run.

simc avatar simc commented on August 22, 2024

Ideally also an option to remove most UI elements for example for Zapp embedded into documentation.

from zapp.run.

simc avatar simc commented on August 22, 2024

Will it be possible to run the build runner automatically? Or at least have a button to run it? For example readers of a documentation embedding Zapp might get confused otherwise.

from zapp.run.

Salakar avatar Salakar commented on August 22, 2024

Hey everyone, this feature is now live, thanks!

from zapp.run.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.