Submit Custom Elements

60 views
Skip to first unread message

Ron Truex

unread,
Aug 24, 2014, 6:05:56 PM8/24/14
to polym...@googlegroups.com

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

 

I really love the concept of polymer, even though it is still in beta I am trying to use this at work for production projects.  The reason being is what it does for the web.  When I talk to people about it most of them are programmers in other languages.  I describe it as bringing OOP to html.  I have a couple personal projects I am hoping to launch within the next 6 months to a year that I am using polymer for.  I understand again it is beta and might not be in production, but the more I use polymer the more I have a love hate relationship, and I know that is because I am learning something that is cutting edge so the documentation and network is not there yet.  Because of the lack of network which is the other reason I am wondering if you have a way to submit custom elements this way the network you have of programmers like me can submit and maintain the project while other programmers of your network can help evolve the elements to a polished level, and help fix glitches in other browsers.  For example the components looks great in chrome, ok in Firefox and ok in IE 10/IE11.  The problem in IE is some of the functionality does not work properly but works fine in the other browsers.

 

Ron Truex

The Small Business Authority

Business: (602) 263-0300 x 12263

www.thesba.com

 

Email: rtr...@thesba.com

URL: http://www.thesba.com/

Description: Description: cid:889BAD07-7DC2-46A1-9835-511B8F07896E

Description: Description: cid:C0C35BFA-B326-4B8A-A099-F549F56F8F1DDescription: Description: cid:57D3E0B5-50DD-4BAE-8DA4-21D5469A8CB4Description: Description: cid:D4F4AA5F-0D90-4205-B79E-2CEF2A2FD7B7Description: Description: cid:C289F1BD-005C-4E80-A2EA-E4475303F3FFDescription: Description: cid:7768BC4D-30E4-4C68-B769-F7B38A1477BFDescription: Description: cid:736EE6C1-239A-4F6E-A39F-E8A762D75DEEDescription: Description: cid:0128A32A-0D67-4DAA-AF27-019AD7753F93

 



Notice: This communication, including attachments, may contain information that is confidential. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If the reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or if you believe that you have received this communication in error, please notify the sender immediately by return e-mail and promptly delete this e-mail, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this e-mail, including attachments, is prohibited and may be unlawful. If you have received this email in error, please notify us immediately by e-mail or telephone and delete the e-mail and the attachments (if any).

Daniel Llewellyn

unread,
Aug 24, 2014, 6:25:43 PM8/24/14
to Ron Truex, polym...@googlegroups.com
Hi Ron

On 24 August 2014 23:04, Ron Truex <rtr...@thesba.com> 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": [
    "any other contributors <th...@email.address.example.com>"
  ],
  "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')",
  "dependencies": {
    "polymer": "~0.3.5"
  }
}

--
Daniel Llewellyn
Bowl Hat
t: 07500 968 611

Ron Truex

unread,
Aug 24, 2014, 8:03:00 PM8/24/14
to polym...@googlegroups.com, rtr...@thesba.com
So basically you have to join one of git hubs paid membership options?

Ron

Daniel Llewellyn

unread,
Aug 24, 2014, 8:19:57 PM8/24/14
to Ron Truex, polym...@googlegroups.com, rtr...@thesba.com
On 25 August 2014 01:03, Ron Truex <tiki...@gmail.com> wrote:
So basically you have to join one of git hubs paid membership options?

Nono, the paid github plans are not required for this, just a free account. Github allows public code (free/libre software) to be stored free-of-charge (no cost).

Ron Truex

unread,
Aug 26, 2014, 1:59:59 AM8/26/14
to polym...@googlegroups.com, tiki...@gmail.com
So I think I got it.  IF you get a chance can you atleast check it out and make sure it looks like it should be public?

Thanks and any feedback is welcome.

Ohh and it should be installable via bower.
Reply all
Reply to author
Forward
0 new messages