Do these in order.
Between "main"
and "dependencies"
:
"authors": ["Jacob Phillips (https://github.com/jifalops) <[email protected]>"],
"license": "MIT",
"keywords": [
""
],
"devDependencies": {
"iron-demo-helpers": "^2.0.0",
"iron-component-page": "^2.0.0",
"web-component-tester": "^6.0.0",
"webcomponentsjs": "^1.0.0"
}
Above <dom-module>
CSS custom property | Description | Default
------------------- | ----------- | -------
<template strip-whitespace></template>
Above Polymer
* @customElement
* @polymer
* @demo demo/index.html
/**
* Triggered when a user taps the send button. The text may be empty.
* @event send
* @param {text} string The message to be sent.
*/
Replace any <template is="">
usages.
<custom-style>
<style include="demo-pages-shared-styles">
</style>
</custom-style>
<dom-bind>
</dom-bind>
<dom-repeat items="">
<template></template>
</dom-repeat>
Use 2-3 of these.
bower i -S jifalops/xx # Polymer 2.0 class based
bower i -S jifalops/xx#^0.2 # Polymer 2.0 hybrid (1.x compatible)
bower i -S jifalops/xx # Polymer 2.0 hybrid (1.x compatible)
bower i -S jifalops/xx#^0.1 # Polymer 1.x based
- Remove link to Github API (if using webcomponents v1).
<div>
<dom-bind>
<template is="dom-bind">
<next-code-block></next-code-block>
</template>
</dom-bind>
</div>
@depricated Choose one disclaimer for the webcomponents.org live demo, below "## Demo
".
See the full demo for examples using Polymer.
<small><i>Polymer bindings may not work in this readme demo.</i></small>
@depricated in favor of using the commented installation commands
## Releases
Version | Description
------- | -----------
0.2.0 | Polymer 1.x and 2.0 compatible (hybrid mode)
0.1.0 | Polymer 1.x based
Make sure you have .gitignore
, LICENSE
, and polymer.json
files.
...
git tag -a 0.2.0 -m ''
../tools/bin/gp.sh jifalops xx
bower register x-x https://github.com/jifalops/x-x