deRegisterAdditionalProps(deRegisterKeys)
Deregisters the input properties passed from metaConfig. When you call the getConfigProps(destinationObject) API, only the registered properties are obtained.
Returns
The Boolean value True after deregistering the input properties.
Parameters
Name | Type | Description | Required |
deRegisterKeys | array.<(string|number)> | The property that needs to be deregistered. | ✅ |
Usage example
In this example, the API deregisters the properties in label
.
const props = getPConnect().deRegisterAdditionalProps(['label']);
Previous topic createComponent(meta, dataSource, index, additionalPropsToComp) Next topic getActions()