Skip to content

app-ui/tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

APP UI: Tags

Web Component using Polymer that creates an element to create/edit tags.

Examples

Dependencies

This component relies on the following third-party libraries:

Install

Download the component and extract in 'components/app-ui-tags'

cd [project folder]
wget https://github.com/app-ui/tags/archive/master.zip
unzip master.zip -d ./components/

Using bower: (Old method)

bower install app.ui.tags

Usage

The component is built on top of APP which should be loaded before the component in the section of your website. This library uses the non-standard method of "html imports" for loading custom elements.

  1. Include APP library
<script src="components/app/build/app.min.js"></script>
  1. Import Custom Element:
<link rel="import" href="component/app-ui-tags">
  1. Start using it!
<div is="app-ui-tags"></div>

Options

This is a direct extension of the Backbone UI component with the same name. Its options are defined as option- parameters in the tag, for example:

<ui-tags option-editable="false" option-data="landscape|nature|farm|january|lake"></ui-tags>

These are the set of options you can use as attributes in your custom element:

...

Events

...

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites.org

License

Released under the MIT License