QuickInput class
A light-weight user input UI that is initially not visible. After configuring it through its properties the extension can make it visible by calling {@link QuickInput.show}.
There are several reasons why this UI might have to be hidden and the extension will be notified through {@link QuickInput.onDidHide}. (Examples include: an explicit call to {@link QuickInput.hide}, the user pressing Esc, some other input UI opening, etc.)
A user pressing Enter or some other gesture implying acceptance of the current state does not automatically hide this UI component. It is up to the extension to decide whether to accept the user's input and if the UI should indeed be hidden through a call to {@link QuickInput.hide}.
When the extension no longer needs this input UI, it should {@link QuickInput.dispose} it to allow for freeing up any resources associated with it.
See {@link QuickPick} and {@link InputBox} for concrete UIs.
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
Properties
- busy ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should show a progress indicator. Defaults to false.getter/setter pair - dispose ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - enabled ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should allow for user input. Defaults to true.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- hide ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - ignoreFocusOut ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should stay open even when loosing UI focus. Defaults to false. This setting is ignored on iPad and is always false.getter/setter pair -
onDidHide
↔ Event<
void> -
Available on QuickInput, provided by the QuickInput$Typings extension
An event signaling when this input UI is hidden.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - step ↔ num?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional current step count.getter/setter pair - title ↔ String?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional title.getter/setter pair - totalSteps ↔ num?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional total step count.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited