Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): Action onClick add event param #874

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

wzc520pyfm
Copy link
Collaborator

@wzc520pyfm wzc520pyfm commented Dec 6, 2024

📦 Modified package

  • @oceanbase/design
  • @oceanbase/ui
  • @oceanbase/icons
  • @oceanbase/charts
  • @oceanbase/util
  • @oceanbase/codemod
  • Other (about what?)

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

Sometimes we need like event.stopPropagation to customize event behavior.

image
image

📝 Changelog

Language Changelog
🇺🇸 English - 🆕 The click event of the Action component supports the e param。
🇨🇳 Chinese - 🆕 Action 组件 onClick 函数增加 event 参数。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Tests is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

github-actions bot commented Dec 6, 2024

@dengfuping dengfuping changed the title feat(ui): [action] support e param for on-click feat(ui): Action onClick add event param Dec 14, 2024
@dengfuping dengfuping merged commit 05934b8 into oceanbase:master Dec 14, 2024
4 of 6 checks passed
@wzc520pyfm wzc520pyfm deleted the feat/support-e-for-action branch January 10, 2025 10:28
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