Skip to content

feat: setting manifest with json script #85

@bennypowers

Description

@bennypowers

current:

<api-viewer src="path/to/manifest.json"></api-viewer>

desired (in addition to src, as an option):

<api-viewer>
  <script slot="manifest" type="application/json">
  { "schemaVersion": 1.0.0, "readme": "..." }
  </script>
</api-viewer>

or:

document.querySelector('api-viewer').manifest = { "schemaVersion": 1.0.0, "readme": "..." }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions