Редактиране

Споделяне чрез


platform-library element

The platform library to use as a resource.
This element is used in the React controls & platform libraries (Preview) .

Available for

Model-driven and canvas apps

Attributes

Name Description Type Required Available for
name Either React or Fluent. string Yes Model-driven and canvas apps
version The current version of the platform library string Yes Model-driven and canvas 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" />
   <platform-library name="React" version="16.8.6" />
   <platform-library name="Fluent" version="9.46.2" />
</resources>

React controls & platform libraries (Preview)
Power Apps component framework manifest schema reference
Power Apps component framework API reference
Power Apps component framework overview