IFluidCodeDetails Interface
Data structure used to describe the code to load on the Fluid document
Signature
export interface IFluidCodeDetails
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
config | optional |
IFluidCodeDetailsConfig | Configuration details. This includes links to the package manager and base CDNs. |
package | string | Readonly<IFluidPackage> | The code package to be used on the Fluid document. This is either the package name which will be loaded from a package manager. Or the expanded Fluid package. |
Property Details
config
Configuration details. This includes links to the package manager and base CDNs.
Signature
readonly config?: IFluidCodeDetailsConfig;
Type: IFluidCodeDetailsConfig
Remarks
This is strictly consumer-defined data. Its contents and semantics (including whether or not this data is present) are completely up to the consumer.
package
The code package to be used on the Fluid document. This is either the package name which will be loaded from a package manager. Or the expanded Fluid package.
Signature
readonly package: string | Readonly<IFluidPackage>;
Type: string | Readonly<IFluidPackage>