diff --git a/src/Components/test/testassets/BasicTestApp/EventBubblingComponent.razor b/src/Components/test/testassets/BasicTestApp/EventBubblingComponent.razor index 281298b2d0..8d592ba201 100644 --- a/src/Components/test/testassets/BasicTestApp/EventBubblingComponent.razor +++ b/src/Components/test/testassets/BasicTestApp/EventBubblingComponent.razor @@ -1,15 +1,67 @@

Bubbling standard event

+@* Temporarily hard-coding the internal names - this will be replaced once the Razor compiler supports @onevent:stopPropagation and @onevent:preventDefault *@
- - + @* This element shows you can stop propagation even without necessarily also handling the event *@ +
+ + +
+
+ Options + + +
+ +

PreventDefault

+ +
+

+ +

+

+ +

+

+ Textbox that can block keystrokes: +

+
+ +
+ Options + + +
+

Bubbling custom event

Element with onsneeze handler
-
Element without onsneeze handler
+
Element without onsneeze handler

Non-bubbling standard event

@@ -25,6 +77,10 @@ @code { + bool intermediateStopPropagation; + bool targetStopPropagation; + bool ancestorPreventDefault; + bool preventOnKeyDown; string logValue = string.Empty; void LogEvent(string message)