Skip to content

doc(off): update off signature#441

Merged
Ovilia merged 2 commits intoapache:masterfrom
Justin-ZS:doc/off
Jul 25, 2025
Merged

doc(off): update off signature#441
Ovilia merged 2 commits intoapache:masterfrom
Justin-ZS:doc/off

Conversation

@Justin-ZS
Copy link
Copy Markdown
Contributor

@Justin-ZS Justin-ZS commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

@Ovilia Ovilia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* @param eventType The event name.
*        If no `event` input, "off" all listeners.
* @param handler The event handler.
*        If no `handler` input, "off" all listeners of the `event`.

需要明确说明,不提供 eventName 的情况下,取消监听所有事件;不提供 handler 的情况下,取消监听该 eventName 下的所有事件。

@Justin-ZS Justin-ZS requested a review from Ovilia July 23, 2025 08:36
@Ovilia
Copy link
Copy Markdown
Contributor

Ovilia commented Jul 25, 2025

Thanks for your contribution!

@Ovilia Ovilia merged commit a331ab0 into apache:master Jul 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants