# Function useGetWidgetModel Fusion Embed

useGetWidgetModel(...args): WidgetModelState

React hook that retrieves an existing widget model from a Fusion Embed instance.

# Example

Retrieve a widget model and use it to populate a Chart component

Additional useGetWidgetModel examples:

# Parameters

Parameter Type
...args [GetWidgetModelParams]

# Returns

WidgetModelState

Widget load state that contains the status of the execution, the result widget model, or the error if one has occurred