Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CreateTextInput

Method
📦 Aspire.Hosting v17.0.0
func (InteractionService) CreateTextInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder

Signature

methodCreateTextInput
Creates a single-line text input.
CreateTextInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder
namestring
options...*CreateInteractionInputOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *CreateInteractionInputOptions struct.

InteractionInputBuilder

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: