mirror of https://github.com/abpframework/abp.git
1 changed files with 2 additions and 2 deletions
@ -1,10 +1,10 @@ |
|||||
@page |
@page |
||||
|
@using DashboardDemo.Web.Pages.Components.MySimpleWidget |
||||
@model DashboardDemo.Web.Pages.MyWidgetsModel |
@model DashboardDemo.Web.Pages.MyWidgetsModel |
||||
|
|
||||
@* Example usage by widget name *@ |
@* Example usage by widget name *@ |
||||
@await Component.InvokeAsync("MySimpleWidget", new { name = "John" }) |
@await Component.InvokeAsync("MySimpleWidget", new { name = "John" }) |
||||
|
|
||||
<hr /> |
<hr /> |
||||
|
|
||||
@* Example usage by widget type *@ |
@* Example usage by widget type *@ |
||||
@await Component.InvokeAsync("MySimpleWidget", new { name = "Mete" }) |
@await Component.InvokeAsync(typeof(MySimpleWidgetViewComponent), new { name = "Mete" }) |
||||
Loading…
Reference in new issue