Hi Ron

On 24 August 2014 23:04, Ron Truex <[email protected]> wrote:

>  I am sure you get asked this a lot.  But how does one submit custom new
> elements.
>
>
>
> For example I have created 2 new elements one is a tri drawer so it has 3
> different settings depending on the screen size.  Then the other is more of
> a general site layout using that.  I have modeled it after the following
> general theme.
>
> http://vendroid.venmond.com/index.php
>

While I'm not a member of the development team for Polymer, and I usually
sit quietly on the sidelines and just watch, this is a question I can
answer.

For registering your own components I believe the accepted method is to
upload the code to github and use `bower register` to get the component
installable via bower's standard methods. To enable discoverability by
other users, the easiest way is to add a "keywords" stanza to your
bower.json file in your component with an entry of "web-component". This
will then be picked up by http://component.kitchen and
http://customelements.io which both index available web components for
public consumption.

example bower.json for identification of being a web-component:

{
  "name": "component-name",
  "version": "0.0.1",
  "authors": [
    "You <[email protected]>",
    "any other contributors <[email protected]>"
  ],
  "description": "short one-line description of the component",
  "main": "the-component.html",
  "keywords": [
    "web-components",
    "keyword/tag",
    "another-keyword/tag"
  ],
  "license": "Component's License (I use 'MIT')",
  "homepage": "http://your-component-homepage.example.com";,
  "dependencies": {
    "polymer": "~0.3.5"
  }
}

--
Daniel Llewellyn
Bowl Hat
t: 07500 968 611

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CABtuYwfsXLMy23SpHDpNGVJXr6DmA%2Bd1R7RoWHLPJfMz3CL5rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to