| // 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 {LegacyElementMixin} from 'chrome://resources/polymer/v3_0/polymer/lib/legacy/legacy-element-mixin.js'; |
| |
| interface CrExpandButtonElement extends LegacyElementMixin, HTMLElement { |
| expanded: boolean; |
| disabled: boolean; |
| tabIndex: number; |
| noink: boolean; |
| expandTitle?: string; |
| collapseTitle?: string; |
| focus(): void; |
| } |
| |
| export {CrExpandButtonElement}; |
| |
| declare global { |
| interface HTMLElementTagNameMap { |
| 'cr-expand-button': CrExpandButtonElement; |
| } |
| } |