Skip to content

Commit 8816abc

Browse files
author
hb9cwp
committed
update
1 parent 3559a4e commit 8816abc

File tree

3 files changed

+17
-33
lines changed

3 files changed

+17
-33
lines changed

Readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#flightpanel-speed
22

3-
Re-usable Speed indicator Web Component refactored from
3+
Re-usable Speed indicator Web Component refactored from
44
[flightSimPanels](https://github.com/dmolin/flightSimPanels)
55
as Custom Element in Polymer.
66

7-
`<flightpanel-speed width=200 height=200 speed=25></flightpanel-speed>`
7+
`<flightpanel-speed id="si2speed" width=200 height=200 speed=25></flightpanel-speed>`
88

99
<p align="center">
1010
<img src="speedIndicator.png?raw=true" alt="Speed Indicator 200 x 200 px"/>
@@ -17,9 +17,9 @@ The Custom Element accepts attributes `width`, `height` (in px), and `speed` (in
1717
It watches `speed`, and adjusts the hand as it changes.
1818
See example in [demo.html](demo.html) .
1919

20-
This Custom Element is derived from Polymer's
20+
This Custom Element is derived from Polymer's
2121
[seed-element](https://github.com/PolymerLabs/seed-element)
22-
according to
23-
["Creating reusable elements:
24-
How to publish and deploy reusable Polymer elements on GitHub"]
25-
(http://www.polymer-project.org/docs/start/reusableelements.html) .
22+
according to
23+
["Create a reusable element:
24+
Publish reusable Polymer elements on GitHub"]
25+
https://www.polymer-project.org/1.0/docs/start/reusableelements.html .

demo.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

index.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
<!DOCTYPE html>
2-
1+
<!doctype html>
32
<html>
43
<head>
5-
<title>flightpanel-speed Info</title>
4+
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
5+
<title>Si2 Web Components: flightpanel-speed</title>
66

7-
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
7+
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
8+
<link rel="import" href="flightpanel-speed.html">
89

9-
<link rel="import" href="../polymer/polymer.html">
10-
<link rel="import" href="../core-component-page/core-component-page.html">
1110
</head>
1211

1312
<body unresolved>
14-
<core-component-page></core-component-page>
13+
14+
<p>An example of using <code>&lt;flightpanel-speed&gt;</code>:</p>
15+
16+
<flightpanel-speed id="si2speed" width=200 height=200 speed=32></flightpanel-speed>
17+
1518
</body>
1619
</html>

0 commit comments

Comments
 (0)