AttributeHandler: (
    attr: DeepReadonly<ObjectAttribute>,
    objInfo: DeepReadonly<ObjectAttrInfo>,
    dataPath: string | null,
    onfinish?: AttributeOnLoad,
) => AttributeHandlerResult | Promise<AttributeHandlerResult>

Handler that is called whenever the attribute for which the handler was registered needs to be displayed in tabular form like in the InfoWindow or Balloon Window (see PluginAPI.SetAttributeHandler).

Type declaration

To support sorting the attribute entries alphabetically (see Config.sortAttributes), the handler should add a property "data-sort-key" to each returned table row (the <tr> tag); this property holds the sort key in lowercase letters. Rows with the same key keep their relative order.