aspnetcore/test/testapps/BasicTestApp
Ryan Nowak c3366bc956 Add event handlers as tag helpers
This change adds support for mapping DOM event handlers as tag helpers
that function in a bi-modal way.

This is a new first-class feature for DOM events, and replaces a few
workarounds like using `@onclick(...)` or `click=@{ ... }`. I haven't
removed those things yet, this is a first pass to get the new support
in, we'll remove those things when we're totally satisfied.

When used with a string like `<button onclick="foo" />` the result is
a simple HTML attribute .

But when used with an implicit expression like
`<button onclick="@Foo" />` or
`<button onclick="@(x => Clicked = true)" />` a C# function is bound to
the click event from the DOM.
2018-04-06 13:00:04 -07:00
..
HierarchicalImportsTest
HttpClientTest Support arbitrary 'fetch' arguments 2018-04-04 10:12:42 +01:00
Properties
RouterTest Add event handlers as tag helpers 2018-04-06 13:00:04 -07:00
wwwroot Added SVG support (#366) (#435) 2018-03-30 10:07:10 +01:00
AddRemoveChildComponents.cshtml Update BasicTestApp 2018-03-14 11:23:41 +00:00
BasicTestApp.csproj Reference static content from referenced assemblies. Implements #340 2018-04-06 09:50:10 +01:00
BindCasesComponent.cshtml Text Area Bind Fix for issue #434 (#439) 2018-03-30 10:10:23 +01:00
CounterComponent.cshtml
CounterComponentUsingChild.cshtml Cover case-insensitive child component parameter names in E2E test 2018-03-19 12:59:59 +00:00
CounterComponentWrapper.cshtml Update BasicTestApp 2018-03-14 11:23:41 +00:00
ExternalContentPackage.cshtml Support components and static content in external NuGet packages (#247) 2018-03-14 11:23:43 +00:00
KeyPressEventComponent.cshtml
MessageComponent.cshtml
ParentChildComponent.cshtml Update BasicTestApp 2018-03-14 11:23:41 +00:00
Program.cs
PropertiesChangedHandlerChild.cshtml
PropertiesChangedHandlerParent.cshtml Add event handlers as tag helpers 2018-04-06 13:00:04 -07:00
RedTextComponent.cshtml
RenderFragmentToggler.cshtml Add event handlers as tag helpers 2018-04-06 13:00:04 -07:00
SvgCircleComponent.cshtml Added SVG support (#366) (#435) 2018-03-30 10:07:10 +01:00
SvgComponent.cshtml Added SVG support (#366) (#435) 2018-03-30 10:07:10 +01:00
SvgWithChildComponent.cshtml Added SVG support (#366) (#435) 2018-03-30 10:07:10 +01:00
TextOnlyComponent.cshtml