Skip to content

tigerlegab/g-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on NPM

G-ELEMENT

A collection of elements used by Authentic System Solutions.

Elements

Usage

Installation

npm install --save g-element

In an html file

<html>
  <head>
    <script type="module">
      import 'g-element/elements/my-element.js';
    </script>
  </head>
  <body>
    <my-element></my-element>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import 'g-element/elements/my-element.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
     <my-element></my-element>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Viewing Your Element

polymer serve

About

A collection of elements used by Authentic System Solutions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published