Skip to content

Commit

Permalink
Use webcomponents.org to show Polymer demos & docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Roeller committed Jun 16, 2017
1 parent 6043d48 commit 6fec86e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ before_script:
- $(npm bin)/polylint --no-recursion
script:
- xvfb-run $(npm bin)/wct
after_success: '[ ${TRAVIS_PULL_REQUEST} = "false" ] && [ ${TRAVIS_BRANCH} = "master" ] && $(npm bin)/bower install -s https://${GH_TOKEN}@github.com/Collaborne/collaborne-build-tools.git && bower_components/collaborne-build-tools/gpages_build.sh Collaborne [email protected]'
env:
secure: a+9bG8whNp4p9epR2T8R0k6f0ANhK8FWD5FgcucvdK/bg/f0mwv1GFHEPL62o5HgXfxZjrFpL48v61r6UdWkdPy1Z6fqB9p/EXKRSEfJiQZ7lTB3Vnb3vAC9ABrz3YisdCwN/pHuh3vShWbagIKIoUwrv+YUte3oRJMhlPBYymqldgAJfHwWLEeqFrCiJLklNvSIjtIxIv+xQGukRt3OwVaSQ6h6JfZ7ql8lP1e+9YrIrexh7DaivfIpUVxcR6IbQVlZBipO/y+6bGe3um+2AIHShj5SsyHa6TvHlaGmy0ty/K40eaH3vGXWBikCacgeQBHGhEnYAW6Wq5BLgh9qEb1mmvvJvIubvVfqZyA7KBg1jy/YavLggn+llD2Z+n0mEfi3+40AYyacFKM9/P6jQdwfLNB1fWPzajK/d68WEM41fKLV0P2KcGjcNMxnGIePe2Az39h9KvNOzFCM3K6NXvyNI9JKTGGFIV1pIjrG4myzWCvqwXD89Yp9RVtB0ZHsWzdoEl+U4y2HWR8EzgbXVczES7fIkQlsfzrpjzjj1vr9BKJu81aKKG/+/lYtgpfvV2TswhsFJQ2/EfEpXTK1o2yLT38Qvvj1ySFA2DmYFhFAamZQ/TEupxRH0XZF1/SwXjutKvcP+K7TlqNFLR8zyTvYbugG+IY/zDPf8AThimQ=
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
_[Demo and API Docs](http://collaborne.github.io/paper-date-picker-item)_


paper-date-picker-item [![Bower version](https://badge.fury.io/bo/paper-date-picker-item.svg)](http://badge.fury.io/bo/paper-date-picker-item) [![Travis state](https://travis-ci.org/Collaborne/paper-date-picker-item.svg?branch=master)](https://travis-ci.org/Collaborne/paper-date-picker-item)
paper-date-picker-item [![Bower version](https://badge.fury.io/bo/paper-date-picker-item.svg)](http://badge.fury.io/bo/paper-date-picker-item) [![Travis state](https://travis-ci.org/Collaborne/paper-date-picker-item.svg?branch=master)](https://travis-ci.org/Collaborne/paper-date-picker-item) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Collaborne/paper-date-picker-item)
=========

`paper-date-picker-item` provides a Material Design item that shows a date and opens a date picker dialog on tap. The web component is built with [Polymer 1.x](https://www.polymer-project.org).
Expand All @@ -15,6 +12,32 @@ To use the elements:

`bower install paper-date-picker-item`

<!--
```
<custom-element-demo>
<template>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../iron-icons/iron-icons.html">
<link rel="import" href="paper-datetime-picker-item.html">
<custom-style>
<style is="custom-style">
body {
min-height: 400px;
}
</style>
<custom-style>
<next-code-block></next-code-block>
</template>
</custom-element-demo>
```
-->
```html
<paper-datetime-picker-item
icon="icons:today"
placeholder="Add date and time"
date-format="Do, MMMM, YYYY">
</paper-datetime-picker-item>
```

## i18n Support

Expand Down

0 comments on commit 6fec86e

Please sign in to comment.