Core API Overview > @adpt/core > Adapt > WidgetPlugin > translatePairs
Adapt.WidgetPlugin.translatePairs() method
Translate WidgetPairs into plugin Actions
Signature:
translatePairs(actions: Action[], pairs: WidgetPair<WidgetElem, WidgetObs>[], actionType: string, action: TranslateAction<QDomain, WidgetElem, WidgetObs>): void;
Parameters
Parameter | Type | Description |
---|---|---|
actions | Action[] | |
pairs | WidgetPair<WidgetElem, WidgetObs>[] | |
actionType | string | |
action | TranslateAction<QDomain, WidgetElem, WidgetObs> |
Returns:
void