Skip to content

Commit

Permalink
Merge pull request #3243 from srwei/main
Browse files Browse the repository at this point in the history
Fix typos in JS AddHostObjectAsyncProxyBase & AddHostObjectSyncProxy
  • Loading branch information
Reezaali authored Aug 7, 2024
2 parents 367c3e4 + 64d6838 commit eb713ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ methods:
type: string
return:
type: any
description: A promise representing the value of the property.
description: The value of the property.
- name: 'setHostProperty(propertyName, propertyValue)'
uid: 'WebView2Script!HostObjectAsyncProxyBase#setHostProperty:member(1)'
package: WebView2Script!
Expand All @@ -102,7 +102,7 @@ methods:
description: Name of the property of which to set the value.
type: string
- id: propertyValue
description: Value to set the property.
description: Value to set the property to.
type: any
return:
type: Promise<any>
Expand All @@ -125,14 +125,13 @@ methods:
content: 'setLocalProperty(propertyName: string, propertyValue: any): any;'
parameters:
- id: propertyName
description: Name of the property to get the value of.
description: Name of the property of which to set the value.
type: string
- id: propertyValue
description: Value to set the property to.
type: any
return:
type: any
description: >-
A promise representing the value of the property after it is set. This promise only resolves after the
property changes value.
extends: <a href="https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_es5_d_.callablefunction.html">CallableFunction</a>
The value of the property after it is set.
extends: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function">Function</a>
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ methods:
description: Name of the property of which to set the value.
type: string
- id: propertyValue
description: Value to set the property.
description: Value to set the property to.
type: any
return:
type: any
Expand All @@ -135,12 +135,12 @@ methods:
content: 'setLocalProperty(propertyName: string, propertyValue: any): any;'
parameters:
- id: propertyName
description: Name of the property to get the value of.
description: Name of the property of which to set the value.
type: string
- id: propertyValue
description: Value to set the property to.
type: any
return:
type: any
description: The value of the property after it is set.
extends: <a href="https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_es5_d_.callablefunction.html">CallableFunction</a>
extends: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function">Function</a>

0 comments on commit eb713ef

Please sign in to comment.