English
approval.preAddSign.render.after
About 114 wordsLess than 1 minute
2025-12-16
Description: this event is called before rendering the pre-add-sign popup
This event is used to perform extra actions after rendering the pre-add-sign popup, including but not limited to the following function: 1. Customizing the default selected add-sign mode
Parameters
| Parameter | Description | Type |
|---|---|---|
| setDefaultSequence | Customize the default selected add-sign mode | Function |
Example
1. showReplyList
Description
Customize the default selected add-sign mode.
Parameters
| Parameter | Description | Type |
|---|---|---|
| false | Default selection: parallel | Boolean |
Return Value
None
Parameter Code Example
None
Code Example
export default class Plugin {
apply() {
return [
{
event: "approval.preAddSign.render.after",
functional: this.approvalPreAggSignRenderAfter.bind(this)
}
]
}
approvalPreAggSignRenderAfter(api) {
// Set add-sign mode to “parallel”
api.setDefaultSequence(false)
}
}