English
flow.remind.list.card.btn.click.before
About 94 wordsLess than 1 minute
2026-04-17
flow.remind.list.card.btn.click.before
Description: This hook is used to intercept before a card button is clicked.
1. isIntercept
Feature Description
- Intercepts before a card button is clicked.
Parameters
| Parameter | Description | Type |
|---|---|---|
| event | event | Object |
| taskInfo | Task information | Object |
Return Value
| Parameter | Description | Type |
|---|---|---|
| isIntercept | Whether to intercept the default action | Boolean |
Parameter Code Example
let event = options && options.event;Code Example
module.exports = function (context, pluginService, pluginParam) {
return {
apply() {
return [
{
event: "flow.remind.list.card.btn.click.before",
functional: async function (context, options) {
let event = options && options.event;
let taskInfo = options && options.taskInfo;
return Promise.resolve({
isIntercept: false
});
}
}
];
}
};
};