Files
react-native-devtools-frontend/front_end/component_docs/elements_breadcrumbs/basic.html
T
Jack Franklin 5e36e33d85 [Docs] Migrate elements_breadcrumbs examples
Also fixes a global use of `ls` in `SensorsView` which caused the example to break.

Bug: 1144106
Change-Id: I41967f87fd524a113819e871fbf6997675888ec0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2617708
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2021-01-08 11:20:42 +00:00

44 lines
1010 B
HTML

<!--
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.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Basic Breadcrumbs example</title>
<style>
#container {
width: 80%;
border: 1px solid black;
}
.fake-crumb-element {
width: 300px;
height: 20px;
background: red;
margin-bottom: 10px;
padding: 2px;
color: white;
font-size: 20px;
text-align: center;
}
.fake-crumb-element.highlight {
background: blue;
}
</style>
</head>
<body>
<div class="fake-crumb-element" data-fake-crumb-1>body</div>
<div class="fake-crumb-element" data-fake-crumb-2>div#test-id</div>
<div id="container">
</div>
<script type="module" src="./basic.js"></script>
</body>
</html>