Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JavaScriptOutputValue

Represents a bit of exported JavaScript functionality that creates custom DOM output. The render function is called by Wrattler after it creates a tab below a code editor. It is called with an id of an empty HTML DOM element.

Hierarchy

  • Value
    • JavaScriptOutputValue

Index

Properties

Properties

kind

kind: "jsoutput"

A tag that is used for pattern matching on KnownValue instances.

render

render: function

When displaying this value, Wrattler will create a new HTML <div> element with unique ID and then pass the ID to this function to render whatever it needs.

Type declaration

    • (id: string): void
    • Parameters

      • id: string

      Returns void

Generated using TypeDoc