31 lines
561 B
C#
31 lines
561 B
C#
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
using Blog3000.Client.Shared;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Blog3000.Client.Pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
|
|
[Parameter]
|
|
public int StartIdx {get;set ;}
|
|
|
|
private PostFinder postFinder;
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
private void TopicClickHandler(string topic)
|
|
{
|
|
//System.Diagnostics.Debug.WriteLine($"Got {topic} ");
|
|
postFinder.StartSearch(topic);
|
|
}
|
|
|
|
|
|
}
|
|
} |