add ariaLive to publish options description (#22338)

* add ariaLive to publish options description

* use correct string and update typings

* update type

* remove comment update

* create type AriaLiveType

* update MockInputBoxComponent with AriaLiveValue

* update azdata-test and add comment
This commit is contained in:
Kim Santiago
2023-03-16 16:08:24 -07:00
committed by GitHub
parent 20cf2489a2
commit 931c44ac41
7 changed files with 20 additions and 14 deletions

View File

@@ -1004,10 +1004,10 @@ class InputBoxWrapper extends ComponentWrapper implements azdata.InputBoxCompone
this.setProperty('value', v);
}
public get ariaLive(): string {
public get ariaLive(): azdata.AriaLiveValue | undefined {
return this.properties['ariaLive'];
}
public set ariaLive(v: string) {
public set ariaLive(v: azdata.AriaLiveValue | undefined) {
this.setProperty('ariaLive', v);
}
@@ -1392,11 +1392,11 @@ class TextComponentWrapper extends ComponentWrapper implements azdata.TextCompon
this.setProperty('textType', type);
}
public get ariaLive(): string | undefined {
public get ariaLive(): azdata.AriaLiveValue | undefined {
return this.properties['ariaLive'];
}
public set ariaLive(ariaLive: string | undefined) {
public set ariaLive(ariaLive: azdata.AriaLiveValue | undefined) {
this.setProperty('ariaLive', ariaLive);
}
}