registerAdditionalProps(additionalMeta)
Resolves the input properties and registers them to the configuration object used for component rendering. When you call the getConfigProps(destinationObject) API, the resolved properties are obtained.
Returns
The resolved properties as an object.
Parameters
Name | Type | Description | Required |
additionalMeta | object | The properties that need to be resolved. | ✅ |
Usage example
In this example, the API resolves the FirstName
property, obtains
the first name, and registers it to label.
const props = getPConnect().registerAdditionalProps({ label: `@P .FirstName` });
Previous topic populateAdditionalProps(configData) Next topic replaceState(prop, value)