Table of Contents

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

textareaId string

Returns

ValueTask

InitializeAutoResizeAsync(ElementReference, string)

Attaches an auto-resize behavior to the given textarea element.

ValueTask InitializeAutoResizeAsync(ElementReference textarea, string textareaId)

Parameters

textarea ElementReference
textareaId string

Returns

ValueTask