Class FreeTextVariantConfig
- Namespace
- Whim.CommandPalette
- Assembly
- Whim.CommandPalette.dll
Config for activating the command palette with free text.
public record FreeTextVariantConfig : BaseVariantConfig, IEquatable<BaseVariantConfig>, IEquatable<FreeTextVariantConfig>
- Inheritance
-
FreeTextVariantConfig
- Implements
- Inherited Members
Properties
Callback
The callback to invoke when the user has pressed enter.
public required FreeTextVariantCallback Callback { get; init; }
Property Value
Prompt
The prompt to display in the command palette.
public required string Prompt { get; init; }