Extensions.triggerActionRuns an extension default action.
| Name | Type | Description |
|---|---|---|
id | string | Extension id. |
targetId | string | A tab target ID to trigger the default extension action on. |
{
"id": 1,
"method": "Extensions.triggerAction",
"params": {
"id": "id-value",
"targetId": "TARGET_ID_HERE"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Extensions.triggerAction', {"id": "id-value", "targetId": "TARGET_ID_HERE"});
console.log(result);