| // Copyright 2020 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 './shared-css.js'; |
| import './viewer-bookmark.js'; |
| |
| import {html, PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; |
| |
| import {Bookmark} from '../bookmark_type.js'; |
| |
| export class ViewerDocumentOutlineElement extends PolymerElement { |
| static get is() { |
| return 'viewer-document-outline'; |
| } |
| |
| static get template() { |
| return html`{__html_template__}`; |
| } |
| |
| static get properties() { |
| return { |
| /** @type {!Array<!Bookmark>} */ |
| bookmarks: Array, |
| }; |
| } |
| } |
| |
| customElements.define( |
| ViewerDocumentOutlineElement.is, ViewerDocumentOutlineElement); |