12345678910111213 |
- @inherits FnzComponentBase
- @code {
- protected override string Prefix => base.Prefix + ".div";
- [Parameter] public RenderFragment ChildContent { get; set; }
- }
- <div id="@ElementId" @attributes="InputAttributes">@ChildContent</div>
- @code
- {
- public async Task<int> GetClientHeight() => await JSRuntime.InvokeAsync<int>(Prefix + ".getClientHeight", ElementId);
- }
|