1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19

ash / webui / common / resources / page_toolbar.d.ts [blame]

// Copyright 2022 The Chromium Authors
// 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 PageToolbarElement extends LegacyElementMixin, HTMLElement {
  title: string;
  isNarrow: boolean;
  onMenuTap_(): void;
}

export {PageToolbarElement};

declare global {
  interface HTMLElementTagNameMap {
    'page-toolbar': PageToolbarElement;
  }
}