Add missing code to example 10 of BitButton demo (#12289)#12290
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdds JavaScript interop support to the BitButton demo component by injecting Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the BitButton demo’s Example 10 C# sample snippet to include the missing ScrollToFloat method (and required IJSRuntime injection) so the displayed code matches the working demo implementation (closes #12289).
Changes:
- Added
[Inject] IJSRuntimefield to Example 10’s C# snippet. - Added
ScrollToFloatmethod to the snippet to support theOnClick="ScrollToFloat"usage.
closes #12289
Summary by CodeRabbit