Sha256: 0ec661ec8fc6a9534fa7eac5ae9b2ab10c9c39145544d587e16bb975496e9910
Contents?: true
Size: 497 Bytes
Versions: 7
Compression:
Stored size: 497 Bytes
Contents
_.def("Luca.components.NavBar").extends("Luca.View").with fixed: true position: 'top' className: 'navbar' brand: "Luca.js" bodyTemplate: 'nav_bar' bodyClassName: 'luca-ui-navbar-body' beforeRender: ()-> @$el.addClass "navbar-fixed-#{ @position }" if @fixed if @brand? @content().append("<a class='brand' href='#'>#{ @brand }</a>") if @template @content().append Luca.template(@template, @) render: ()-> @ content: ()-> @$('.container').eq(0)
Version data entries
7 entries across 7 versions & 1 rubygems