ES2Web.Load

public T Load<T>(string tag, ES2Settings settings=null)

Parameters

T The type of the data we want to load. Must be on the Supported Types list.

tag

The tag which we want to load.

Returns

T Our loaded data

Description

Loads the data of type T from the data downloaded using ES2Web. You must yield ES2Web.Download() before calling this method.

C#

JS


public T Load(string path, T component, ES2Settings settings=null)

Parameters

tag The tag which we want to load.

Description

Self-Assigning Load. Loads the Component of type T from the specified tag and automatically assigns it to our Component.

C#

JS