forked from pomber/paper-fab-speed-dial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2d2f629
Showing
6 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# \<paper-fab-speed-dial\> | ||
|
||
A floating action button flinging out related actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "paper-fab-speed-dial", | ||
"description": "A floating action button flinging out related actions", | ||
"main": "paper-fab-speed-dial.html", | ||
"authors": [ | ||
"pomber" | ||
], | ||
"keywords": [ | ||
"web-components", | ||
"paper", | ||
"menu", | ||
"fab" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/pomber/paper-fab-speed-dial.git" | ||
}, | ||
"homepage": "https://github.com/pomber/paper-fab-speed-dial", | ||
"dependencies": { | ||
"polymer": "Polymer/polymer#^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0", | ||
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0", | ||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>paper-fab-speed-dial demo</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> | ||
<script src="../../webcomponentsjs/webcomponents-lite.js"></script> | ||
|
||
<link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html"> | ||
<link rel="import" href="../../iron-demo-helpers/demo-snippet.html"> | ||
|
||
<link rel="import" href="../paper-fab-speed-dial.html"> | ||
|
||
<style is="custom-style" include="demo-pages-shared-styles"> | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div class="vertical-section-container centered"> | ||
<h3>Basic paper-fab-speed-dial Demo</h3> | ||
<demo-snippet> | ||
<template> | ||
<paper-fab-speed-dial></paper-fab-speed-dial> | ||
</template> | ||
</demo-snippet> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
<head> | ||
<title>paper-fab-speed-dial</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script src="../webcomponentsjs/webcomponents-lite.js"></script> | ||
<link rel="import" href="../iron-component-page/iron-component-page.html"> | ||
</head> | ||
<body> | ||
<iron-component-page src="paper-fab-speed-dial.html"></iron-component-page> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<link rel="import" href="../polymer/polymer.html"> | ||
|
||
<!-- | ||
`paper-fab-speed-dial` | ||
A floating action button flinging out related actions | ||
@demo demo/index.html | ||
--> | ||
|
||
<dom-module id="paper-fab-speed-dial"> | ||
<template> | ||
<style> | ||
:host { | ||
display: block; | ||
} | ||
</style> | ||
<h2>Hello [[prop1]]</h2> | ||
</template> | ||
|
||
<script> | ||
Polymer({ | ||
|
||
is: 'paper-fab-speed-dial', | ||
|
||
properties: { | ||
prop1: { | ||
type: String, | ||
value: 'paper-fab-speed-dial', | ||
}, | ||
}, | ||
|
||
}); | ||
</script> | ||
</dom-module> |