mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
dialog_widget: Mention post_render in optional parameters for launch().
This commit is contained in:
@@ -86,6 +86,7 @@ export function launch(conf) {
|
|||||||
// * on_shown: Callback to run when the modal is shown.
|
// * on_shown: Callback to run when the modal is shown.
|
||||||
// * on_hide: Callback to run when the modal is triggered to hide.
|
// * on_hide: Callback to run when the modal is triggered to hide.
|
||||||
// * on_hidden: Callback to run when the modal is hidden.
|
// * on_hidden: Callback to run when the modal is hidden.
|
||||||
|
// * post_render: Callback to run after the modal body is added to DOM.
|
||||||
|
|
||||||
for (const f of mandatory_fields) {
|
for (const f of mandatory_fields) {
|
||||||
if (conf[f] === undefined) {
|
if (conf[f] === undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user