Skip to main content

EdgePropertyMappingsInspectorComponent

A component that provides a form for managing edge properties from the installed edge property mappings.

Properties

cssClass?

optional cssClass: string

Optional class name to use on the wrapper div. Defaults to vjs-inspector-section.

Input


getPropertyName()?

optional getPropertyName: (pm) => string

Optional, you can implement this method to return your own names to use for properties in the inspector.

Parameters

pm

PropertyMapping<EdgeMapping>

Returns

string

Input


mappings?

optional mappings: EdgePropertyMappings

Optional property mappings to render a form for. The default behaviour is to retrieve the property mappings from the inspector context

Input


showName?

optional showName: boolean

Optional, whether or not to show property names. Defaults to true.

Input