Sha256: 779a5c67f6df900ecaa4aea7a0307a69dd0b4906af96bed6ff0cbd14344d71de
Contents?: true
Size: 508 Bytes
Versions: 2
Compression:
Stored size: 508 Bytes
Contents
_.def("Luca.components.NavBar").extends("Luca.View").with fixed: true position: 'top' className: 'navbar' initialize: (@options={})-> Luca.View::initialize.apply(@, arguments) 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>") render: ()-> @ content: ()-> @$('.container').eq(0)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
luca-0.9.1 | src/components/nav_bar.coffee |
luca-0.9.0 | src/components/nav_bar.coffee |