Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

Commit 51a99c8

Browse files
author
Zeno Rocha
committed
Release v0.1.1
1 parent c817fef commit 51a99c8

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hello-world-polymer",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Web Component example using Polymer",
55
"authors": [
66
"WebComponents.org"

dist/hello-world.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!-- Import Polymer -->
2+
<link rel="import" href="../../polymer/polymer.html">
3+
4+
<!-- Define your custom element -->
5+
<polymer-element name="hello-world" attributes="who">
6+
7+
<template>
8+
<p>Hello <strong>{{who}}</strong> :)</p>
9+
</template>
10+
11+
<script>
12+
Polymer('hello-world', {
13+
who: 'World'
14+
});
15+
</script>
16+
17+
</polymer-element>

0 commit comments

Comments
 (0)