Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Link2Twenty committed Mar 15, 2016
1 parent 984627c commit 6798afb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,18 @@ If you are looking at useing other peoples custom polymer elements I am going to
Put a link to pull to action in your header, it should look something like.
```html
<link rel="import" href="bower_components/pull-to-action/pull-to-action.html">
<style is="custom-style">
:root {
--pull-icon-color: red;
}
</style>
```

Now that you have imported it you can get to using it on your page
```html
<body>
<div id="scrollablecontainer">
<pull-to-action action="location.reload()" color="red" container="#scrollablecontainer"></pull-to-action>
<pull-to-action action="location.reload()" container="#scrollablecontainer"></pull-to-action>
<h1>So much content</h1>
... <br>
... <br>
Expand Down

0 comments on commit 6798afb

Please sign in to comment.