UNPKG

chrome-devtools-frontend

Version:
43 lines (36 loc) 1.04 kB
// 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 * as LitHtml from '../../lit-html/lit-html.js'; export function init(): void { const container = document.createElement('ul'); // clang-format off // eslint-disable-next-line rulesdir/ban_a_tags_in_lit_html LitHtml.render(LitHtml.html` <style> .docs-breadcrumbs { display: flex; list-style: none; position: fixed; background: rgb(255 255 255 / .8); padding: 5px; bottom: 0; left: 10px; width: 300px; } .docs-breadcrumbs li a { display: block; padding: 10px; font-size: 16px; } .docs-breadcrumbs span { font-size: 20px; } </style> <ul class="docs-breadcrumbs component-docs-ui"> <li><a href="/">Index</a></li> <li><a href=".">All component examples</a></li> </ul>`, container); // clang-format on document.body.appendChild(container); }