- Chat messages are now loaded based on scroll position - Read status is now updated and set by last message read - Reworked script importing by using ScriptProvider
14 lines
No EOL
362 B
Text
14 lines
No EOL
362 B
Text
@namespace LANCommander.UI.Components
|
|
@inherits BaseComponent
|
|
@typeparam T
|
|
|
|
<div class="infinite-scroll" @ref="_scrollHost">
|
|
<div class="sentinel" @ref="_sentinel"></div>
|
|
|
|
@foreach (var i in _items)
|
|
{
|
|
<div @key="@_keySelector?.Invoke(i)" data-id="@_keySelector?.Invoke(i)">
|
|
@ChildContent?.Invoke(i)
|
|
</div>
|
|
}
|
|
</div> |