| // 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 'chrome://resources/polymer/v3_0/iron-icon/iron-icon.js'; |
| import './keyboard_icons.js'; |
| import {html, PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; |
| * 'keyboard-key' provides a visual representation of a single key for the |
| * 'keyboard-diagram' component. |
| export class KeyboardKeyElement extends PolymerElement { |
| return html`{__html_template__}`; |
| static get properties() { |
| * The text to show on the key, if any. |
| * The name of the icon to use, if any. The name should be of the form: |
| * `iconset_name:icon_name`. |
| customElements.define(KeyboardKeyElement.is, KeyboardKeyElement); |