img element
The img
web resource allows you to add images for the code components.
Available for
Model-driven apps
Parameters
Name | Description | Type | Required | Available for |
---|---|---|---|---|
path |
Relative path w.r.t manifest where the image files are located | string |
Yes | Model-driven apps |
Parent Elements
Element | Description |
---|---|
resources | The resources node in the component manifest refers to the resource files that component requires to implement it's visualization. |
Example
<resources>
<code path="index.ts" order="1" />
<img path="img/default.png" />
</resources>
Related topics
Power Apps component framework manifest schema reference
Power Apps component framework API reference
Power Apps component framework overview