Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CreateNumberInput

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

Signature

methodCreateNumberInput
Creates a numeric input.
CreateNumberInput(
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: