Skip to content

Interface

The static methods of a widget.

Properties

PropertyTypeNotes
getFullConfig(configany) => any

A widget can just save partial of its config in an app config. In the runtime, the widget can use this function to get the full config.

mapExtraStateProps(stateIMState, ownPropsPartial<AllWidgetProps<any>>) => any

If a widget needs more state, it can use this function to map the state to the props.

versionManagerBaseVersionManager

The version manager of a widget (optional)

getFullConfig

optional
Interface Property

mapExtraStateProps

optional
Interface Property

versionManager

optional
Interface Property

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.