A tags component for any webpage
Using bower:
bower install backbone.ui.tags
- Backbone
- Underscore
- jQuery (or alternative event handler)
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.
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
Initiated by Makis Tracend ( @tracend )
Distributed through Makesites.org
Released under the MIT license