Skip to content

backbone-ui/tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backbone UI: Tags

A tags component for any webpage

Install

Using bower:

bower install backbone.ui.tags

Dependencies

Usage

var view = new Backbone.UI.Tags({
		el : "#tags",
		collection : new Backbone.Collection(tags)
});
view.render();

By default the html fragment will be parsed by the underscore's micro-template engine. You are free to use any template engine by using the template option as described below.

Options

A more detailed list of all the available options.

  • collection: the data for the tags
  • url: the url of an html fragment
  • html: the markup of the html fragment
  • template: A template method to parse the html fragment

Examples

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites.org

Released under the MIT license

About

A tags component for Backbone

Resources

Stars

Watchers

Forks

Packages

No packages published