Interface PropertyLocalizer<T>

Handle the localization of control properties for a given property type.

interface PropertyLocalizer<T> {
    createResources: ((propertyKey: string, control: T) => Record<string, string>);
    localizeControlAttribute: ((propertyKey: string, control: T, resources: Record<string, string>) => void);
    localizerType: LocalizerType;
    propertyType: string;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

createResources: ((propertyKey: string, control: T) => Record<string, string>)
localizeControlAttribute: ((propertyKey: string, control: T, resources: Record<string, string>) => void)
localizerType: LocalizerType

Control type to be localized,

propertyType: string

Property type to be localized. (the type that the property editor is registered against)