mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
support aria-expand for actions (#11869)
* support aria-expand for actions * update text
This commit is contained in:
@@ -252,6 +252,7 @@ export class CollapseCellsAction extends ToggleableAction {
|
||||
shouldToggleTooltip: toggleTooltip,
|
||||
isOn: false
|
||||
});
|
||||
this.expanded = true;
|
||||
}
|
||||
|
||||
public get isCollapsed(): boolean {
|
||||
@@ -259,6 +260,7 @@ export class CollapseCellsAction extends ToggleableAction {
|
||||
}
|
||||
private setCollapsed(value: boolean) {
|
||||
this.toggle(value);
|
||||
this.expanded = !value;
|
||||
}
|
||||
|
||||
public async run(context: URI): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user