onDidReceiveMessage property
Event
get
onDidReceiveMessage
Fired when the webview content posts a message.
Webview content can post strings or json serializable objects back to an extension. They cannot
post Blob
, File
, ImageData
and other DOM specific objects since the extension that receives the
message does not run in a browser environment.
Implementation
_i3.Event<_i2.dynamic> get onDidReceiveMessage => _i5.getProperty(
this,
'onDidReceiveMessage',
);