diff options
Diffstat (limited to 'chromium/ui/webui/resources/js/cr/ui/focus_row_behavior.m.d.ts')
-rw-r--r-- | chromium/ui/webui/resources/js/cr/ui/focus_row_behavior.m.d.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/ui/webui/resources/js/cr/ui/focus_row_behavior.m.d.ts b/chromium/ui/webui/resources/js/cr/ui/focus_row_behavior.m.d.ts new file mode 100644 index 00000000000..24a752797e6 --- /dev/null +++ b/chromium/ui/webui/resources/js/cr/ui/focus_row_behavior.m.d.ts @@ -0,0 +1,22 @@ +// Copyright 2021 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import {FocusRow} from './focus_row.m.js'; + +export interface FocusRowBehaviorInterface { + id: string|null|undefined; + isFocused: boolean|null|undefined; + focusRowIndex: number|null|undefined; + lastFocused: Element|null; + ironListTabIndex: number; + listBlurred: boolean|null|undefined; + focusRowIndexChanged(newIndex: number, oldIndex: number): void; + getFocusRow(): FocusRow; +} + +export {FocusRowBehavior}; + +interface FocusRowBehavior extends FocusRowBehaviorInterface {} + +declare const FocusRowBehavior: object; |