Skip to content

app-ui/component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APP UI: Component

A bare minimum custom element for APP UI using VanillaJS.

This is merely a template, designed to make it easy to get started creating a new APP UI element.

Examples

Install

Using bower:

bower install app.ui.component

Import from github

git pull git://github.com/app-ui/component.git master

Simply search and replace component and Component with your UI element name.

The component contains all the basic structure to get started. The stylesheet is created using Less and then been compiled to a plain CSS file. It's your choice if you want to continue developing in Less or CSS.

Usage

  1. Import Web Components' polyfill
<script src="components/webcomponentsjs/webcomponents.min.js"></script>
  1. Import Custom Element:
<link rel="import" href="components/app.ui.component">
  1. Start using it!
<ui-component></ui-component>

Attributes

...

Events

...

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites.org

License

Released under the MIT License