Skip to main content

EdgePropertyMappingsInspectorProps

Extends

  • DOMAttributes<HTMLDivElement>

Properties

cssClass?

optional cssClass: string

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


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


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


showName?

optional showName: boolean

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