This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

22
node_modules/@angular/cdk/fesm2022/focus-key-manager.mjs generated vendored Executable file
View File

@@ -0,0 +1,22 @@
import { ListKeyManager } from './list-key-manager.mjs';
class FocusKeyManager extends ListKeyManager {
_origin = 'program';
/**
* Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.
* @param origin Focus origin to be used when focusing items.
*/
setFocusOrigin(origin) {
this._origin = origin;
return this;
}
setActiveItem(item) {
super.setActiveItem(item);
if (this.activeItem) {
this.activeItem.focus(this._origin);
}
}
}
export { FocusKeyManager };
//# sourceMappingURL=focus-key-manager.mjs.map