UNPKG

@angular/cdk

Version:

Angular Material Component Development Kit

17 lines (14 loc) 463 B
import { ListKeyManager } from './list-key-manager.mjs'; class ActiveDescendantKeyManager extends ListKeyManager { setActiveItem(index) { if (this.activeItem) { this.activeItem.setInactiveStyles(); } super.setActiveItem(index); if (this.activeItem) { this.activeItem.setActiveStyles(); } } } export { ActiveDescendantKeyManager }; //# sourceMappingURL=activedescendant-key-manager.mjs.map