English
flow.remind.list.card.btn.render.before
About 89 wordsLess than 1 minute
2026-04-17
flow.remind.list.card.btn.render.before
Description: This hook is used to rewrite the final data of the card button area.
1. updateItem
Feature Description
- Rewrites the final data of the card button area.
Parameters
| Parameter | Description | Type |
|---|---|---|
| updateItem | Card rendering data | Object |
Return Value
| Parameter | Description | Type |
|---|---|---|
| updateItem | Card rendering data | Object |
Parameter Code Example
let updateItem = options && options.updateItem;Code Example
module.exports = function (context, pluginService, pluginParam) {
return {
apply() {
return [
{
event: "flow.remind.list.card.btn.render.before",
functional: async function (context, options) {
let updateItem = options && options.updateItem;
return Promise.resolve({
updateItem: updateItem
});
}
}
];
}
};
};