@zeainc/zea-ux
Version:
36 lines • 997 B
TypeScript
import Change from '../Change';
import { TreeItem } from '@zeainc/zea-engine';
/**
* Class representing a change of visibility state for selected items.
*
* @extends Change
*/
declare class SelectionVisibilityChange extends Change {
selection: Set<TreeItem>;
state: boolean;
/**
* Create a toggle selection visibility.
*
* @param selection - The selection value.
* @param state - The state value.
*/
constructor(selection: Set<TreeItem>, state: boolean);
/**
* Restores previous visibility status of the selected items
*/
undo(): void;
/**
* Recreates previous visibility status of the selected items
*/
redo(): void;
/**
* Changes items visibility.
*
* @param state - The state param.
* @private
*/
_changeItemsVisibility(state: boolean): void;
}
export default SelectionVisibilityChange;
export { SelectionVisibilityChange };
//# sourceMappingURL=SelectionVisibilityChange.d.ts.map