mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Added loading to dropdowns (#12214)
* Added loading prop to dropdowns * Added property for setting loading text message * removed unnecessary sets * changed code to match new changes * Changed the dropdown loader to use select component instead of edit. Added missing props in dropdown loader
This commit is contained in:
@@ -1450,6 +1450,22 @@ class DropDownWrapper extends ComponentWrapper implements azdata.DropDownCompone
|
||||
this.setProperty('fireOnTextChange', v);
|
||||
}
|
||||
|
||||
public get loading(): boolean {
|
||||
return this.properties['loading'];
|
||||
}
|
||||
|
||||
public set loading(v: boolean) {
|
||||
this.setProperty('loading', v);
|
||||
}
|
||||
|
||||
public get loadingText(): string {
|
||||
return this.properties['loadingText'];
|
||||
}
|
||||
|
||||
public set loadingText(v: string) {
|
||||
this.setProperty('loadingText', v);
|
||||
}
|
||||
|
||||
public get onValueChanged(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onDidChange);
|
||||
return emitter && emitter.event;
|
||||
|
||||
Reference in New Issue
Block a user