Home > @uniformdev/canvas > ChildEnhancerBuilder > parameterType

ChildEnhancerBuilder.parameterType() method

Targets an enhancer to modify the value of any parameter with a specific type

Signature:

parameterType(type: string | readonly string[], enhancer: ComponentParameterEnhancer<any, any> | ComponentParameterEnhancerFunction<any>): this;

Parameters

ParameterTypeDescription
typestring | readonly string[]
enhancerComponentParameterEnhancer<any>

Returns:

this