Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.3 KB

readme.md

File metadata and controls

57 lines (34 loc) · 1.3 KB

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