File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
powerapps-docs/developer/component-framework/reference/control Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,11 @@ Model-driven apps and canvas apps (public preview)
29
29
30
30
## Example
31
31
32
- ``` JavaScript
33
- MyNameSpace .JSHelloWorldControl .prototype .updateView = function (context ) {
34
- this ._labelElement .innerText = " Hello World! (JS)" ;
35
- };
32
+ ``` TypeScript
33
+ public updateView (context : ComponentFramework .Context < IInputs > ): void
34
+ {
35
+ this ._labelElement .innerText = " Hello World! (TS)" ;
36
+ }
36
37
```
37
38
38
39
## Remarks
@@ -44,4 +45,4 @@ Set the value of the field component to the raw value from the configured field
44
45
45
46
[ Control] ( ../control.md ) <br />
46
47
[ Power Apps component framework API reference] ( ../../reference/index.md ) <br />
47
- [ Power Apps component framework overview] ( ../../overview.md )
48
+ [ Power Apps component framework overview] ( ../../overview.md )
You can’t perform that action at this time.
0 commit comments