Skip to content

backbone-ui/drawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backbone UI: Drawer

A flexible UI Drawer that can be used on any block element.

Install

Using bower:

bower install backbone.ui.drawer

Dependencies

Usage

var view = new Backbone.UI.Drawer({
		el : ".main"
});
view.render();

Options

A more detailed list of all the available options.

contentEl: ".content", /contentMove: false,/ contentMove: "displace",

  • contentEl: An optional HTML element that the drawer should interact with. - default: false
  • contentMove: If a contentEl has been set, the type of interaction the should occur - default: false . Example displace - moves the content in sync with the drawer

Examples

Credits

Initiated by Lyndel Thomas ( @ryndel )

Distributed through Makesites.org

Released under the MIT license

About

Converts any block element into a drawer element

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published