We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5ec57 commit dffcd26Copy full SHA for dffcd26
packages/widgets/src/commandpalette.ts
@@ -652,6 +652,11 @@ namespace CommandPalette {
652
*/
653
readonly isToggled: boolean;
654
655
+ /**
656
+ * Whether the command item is toggleable.
657
+ */
658
+ readonly isToggleable: boolean;
659
+
660
/**
661
* Whether the command item is visible.
662
@@ -1551,6 +1556,13 @@ namespace Private {
1551
1556
return this._commands.isToggled(this.command, this.args);
1552
1557
}
1553
1558
1559
1560
1561
1562
+ get isToggleable(): boolean {
1563
+ return this._commands.isToggleable(this.command, this.args);
1564
+ }
1565
1554
1566
1555
1567
1568
0 commit comments