showing results for - "setting object properties in c 23 from javascript code"
Maria José
23 Jan 2017
1(async function foo () {
2  const api = chrome.webview.hostObjects.api
3  await api.setHostProperty('Username', 'whoever');
4  const user = await api.Username
5  alert (user)
6})();