summaryrefslogtreecommitdiff
path: root/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.d.ts
blob: 674e2412491226c2a2f3f5381a9b4f617d84e7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 CrIconButtonElement extends LegacyElementMixin, HTMLElement {
  disabled: boolean;
  customTabIndex: number|null|undefined;
  ironIcon: string|null|undefined;
  hostAttributes: object|null;
}

export {CrIconButtonElement};

declare global {
  interface HTMLElementTagNameMap {
    'cr-icon-button': CrIconButtonElement;
  }
}