Interface ITextAreaJsInterop
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
JS interop contract for the textarea auto-resize module.
public interface ITextAreaJsInterop
Methods
DisposeAutoResizeAsync(string)
Detaches and disposes the auto-resize behavior previously attached via InitializeAutoResizeAsync(ElementReference, string).
ValueTask DisposeAutoResizeAsync(string textareaId)
Parameters
textareaIdstring
Returns
- ValueTask
InitializeAutoResizeAsync(ElementReference, string)
Attaches an auto-resize behavior to the given textarea element.
ValueTask InitializeAutoResizeAsync(ElementReference textarea, string textareaId)
Parameters
textareaElementReferencetextareaIdstring
Returns
- ValueTask