platform/web/push_state/basic.html

32 lines
858 B
HTML
Raw Normal View History

2016-11-27 22:24:30 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
2017-03-20 19:46:54 +00:00
<base href="/push_state">
2016-11-27 22:24:30 +00:00
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Push State Router</title>
<style>
#routes li {
display: inline;
margin-right: 1em;
}
</style>
</head>
<body>
<ul id="routes">
<li><a href="/a">Route A</a></li>
<li><a href="/b">Route B</a></li>
<li><a href="/b/a">Route B/A</a></li>
<li><a href="/b/b">Route B/B</a></li>
<li><a href="/c">Route C</a></li>
</ul>
<h1>No Active Route</h1>
<i>Handler Sequence:</i>
<ul id="handlers">
<li>(empty)</li>
</ul>
2017-03-20 19:46:54 +00:00
<script src="/push_state/basic.dart" type="application/dart"></script>
2016-11-27 22:24:30 +00:00
<script src="packages/browser/dart.js"></script>
</body>
</html>