Commit a557f38e authored by Clément's avatar Clément

update: add keepURL+id example

parent e787c875
Pipeline #4334 passed with stage
in 27 seconds
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>SIB test: sib-router</title>
<script type="module" src="https://unpkg.com/@startinblox/core@0.7"></script>
<script type="module" src="../src/index.js"></script>
</head>
<body>
<sib-router keep-url>
<sib-route use-id name="popupevent"></sib-route>
</sib-router>
<sib-display
data-src="https://api.test-paris.happy-dev.fr/users/"
data-fields="name"
next="popupevent"
>
</sib-display>
<dialog id="popupevent">
<sib-display bind-resources data-fields="name"></sib-display>
</dialog>
</div>
</body>
</html>
......@@ -25,6 +25,7 @@
<li><a href="examples/sub-menu.html">sub-menu</a></li>
<li><a href="examples/no-route-name.html">no-route-name</a></li>
<li><a href="examples/keep-url.html">keep-url</a></li>
<li><a href="examples/keep-url-id.html">keep-url + id</a></li>
<li><a href="examples/dialog.html">dialog</a></li>
<li><a href="examples/route-with-id.html">route-with-id</a></li>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment