次の方法で共有


img 要素

img Web リソースによって、コード コンポーネントのイメージを追加できます。

使用可能な対象

モデル駆動型アプリ

Parameters

件名 プロパティ 必要 以下に使用できます
path 画像ファイルが置かれている w.r.t マニフェストの相対パス string はい モデル駆動型アプリ

親要素

要素 プロパティ
resources コンポーネント マニフェストの resources ノードは、コンポーネントのビジュアル化を実装するために必要なリソース ファイルを参照します。

<resources>
   <code path="index.ts" order="1" />
     <img path="img/default.png" />
 </resources>

Power Apps Component Framework Manifest Schema リファレンス
Power Apps Component Framework API リファレンス
Power Apps Component Framework の概要