Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

WebContainer

avnermosh edited this page Jul 29, 2021 · 4 revisions

This page updates the page: https://jasonelle-archive.github.io/docs/legacy/web/

...

  1. As Component

text: A self contained HTML text (...), which means everything from script tag to style tag.

Note: if using text instead of the url, then that html is executed on the fly, by reading the string. Images must be embeded as base64 if you are using that option. For example:

this will not work

  "$jason": {
    "head": {
      "title": "image"
    },
    "body": {
      "style": {
        "background": {
          "type": "html",
          "text": "<html><head><style>html{padding:0;margin:0;margin-top: 64px;}</style><body><img src='example-word-written-on-wooden-260nw-1765482248.jpg'/></body></html>"
        }
      }
    }
  }
Clone this wiki locally