Skip to main content

Loader Class

Manages Fluid resource loading

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-loader/legacy.

For more information about our API support guarantees, see here.

Signature

export declare class Loader implements IHostLoader

Implements: IHostLoader

Remarks

The Loader class is deprecated and will be removed in a future release. Use the free-form functions instead (See issue #24450 for more details).

Constructors

Constructor Alerts Description
(constructor)(loaderProps) Alpha Constructs a new instance of the Loader class

Properties

Property Alerts Modifiers Type Description
services Alpha readonly ILoaderServices

Constructor Details

(constructor)

Constructs a new instance of the Loader class

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

constructor(loaderProps: ILoaderProps);

Parameters

Parameter Type Description
loaderProps ILoaderProps

Property Details

services

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

readonly services: ILoaderServices;

Type: ILoaderServices