Vscode.WebView
val onDidReceiveMessage : t -> Interop.Js.Any.t Event.t
val cspSource : t -> string
val html : t -> string
val set_html : t -> string -> unit
val options : t -> WebviewOptions.t
val set_options : t -> WebviewOptions.t -> unit
val postMessage : t -> Interop.Js.Any.t -> bool Promise.t
val create :
onDidReceiveMessage:Interop.Js.Any.t Event.t ->
cspSource:string ->
html:string ->
options:WebviewOptions.t ->
close:(unit -> unit) ->
asWebviewUri:(Uri.t -> Uri.t) ->
postMessage:(Interop.Js.Any.t -> bool Promise.t) ->
t