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