Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CreateBooleanInput

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

Signature

methodCreateBooleanInput
Creates a boolean (checkbox) input.
CreateBooleanInput(
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: