Beispiel #1
0
        private async void DelayedTask()
        {
            await Task.Delay(4000);

            using var access = LaraUI.Document.StartServerEvent();
            _span.ClearChildren();
            _span.AppendText("server event executed");
        }
Beispiel #2
0
 public ServerEventsPage()
 {
     _span = new HtmlSpanElement();
     _span.AppendText("waiting for server event...");
 }