Steve Sanderson
b038117961
Force VS to treat all Blazor cshtml components as inheriting from BlazorComponent so that helpers like @onclick appear in intellisense
2018-01-18 10:05:07 +00:00
Steve Sanderson
374d19c1a4
Move child component instantiation into a post-render phase to bring it closer to how it will work with rendertree diffing
...
This is also needed to make it possible to have a helper to insert
Component nodes from Razor without doing anything messy to pass the
RenderTreeBuilder into that heper.
2018-01-18 00:29:00 +00:00
Steve Sanderson
3deab026c8
Stop spurious VS "cannot override ExecuteAsync" errors even if you don't specify a base class
2018-01-18 00:07:54 +00:00
Steve Sanderson
d1f96153d3
Implement basics of @onclick()-type shorthand syntax
2018-01-16 18:01:06 +00:00
Steve Sanderson
5949045319
In RazorCompiler, support expressions with non-string or null values
2018-01-16 16:30:29 +00:00
Steve Sanderson
7bbb2b6660
In RazorCompiler, support attribute values of type UIEventHandler
2018-01-16 16:15:46 +00:00
Steve Sanderson
3a7b6b2178
In Razor compiler, support attributes with interpolated expressions
2018-01-16 15:24:34 +00:00
Steve Sanderson
3f522ab216
Begin ability to have .cshtml files in Blazor apps
2018-01-11 11:11:47 +00:00
Steve Sanderson
07e31c6318
Unit tests relating to Renderer GC behavior
2018-01-09 15:08:27 +00:00
Steve Sanderson
c95747af3e
Remove some implementation code that isn't strictly needed (so far, at least)
2018-01-09 13:52:56 +00:00
Steve Sanderson
04f9c476a8
Update StandaloneApp to render a component. Remove some redundant code.
2018-01-09 13:45:15 +00:00
Steve Sanderson
6585667ce6
Refactor most of the rendering logic into Microsoft.Blazor, keeping only browser-specific parts in Microsoft.Blazor.Browser
2018-01-09 13:33:49 +00:00
Steve Sanderson
674024ed61
Rename UITree -> RenderTree, UIEventInfo -> UIEventArgs
2018-01-09 09:55:14 +00:00
Steve Sanderson
5793bf700a
Add ability to render child components
2018-01-08 14:21:48 +00:00
Steve Sanderson
04c582647a
Add support for passing parameters to UI event handlers (e.g., which key was pressed)
2018-01-08 11:31:10 +00:00
Steve Sanderson
23f7120b75
Basic parameterless events support (e.g., button click)
2018-01-05 22:16:29 +00:00
Steve Sanderson
0db6f5cc5d
Add concept of "attributes" to UITree. So far the values are only allowed to be strings, but this will have to change later.
2018-01-05 17:28:26 +00:00
Steve Sanderson
f0a78d13bf
Begin tracking association between components and DOM elements so that components can be refresh their own display
2018-01-05 14:31:06 +00:00
Steve Sanderson
5453b58f31
Initial basic component rendering. Does not yet do any tree diffing. APIs will change.
2018-01-04 14:11:37 +00:00
Steve Sanderson
4b247e8050
Make ReferencedAssemblyFileProviderTest more useful
2017-12-11 16:11:13 +00:00
Steve Sanderson
4138b3a049
Make Blazor apps actually start up Mono and execute the specified .NET entrypoint
2017-12-08 17:06:40 +00:00