jsbeans

jsbeans  1.0.0

jsbeans > jsbeans > jsbeans.Navbar
Search:
 
Filters

static Class jsbeans.Navbar

A navigation bar starting from a pseudo-xml descriptor of the site.

Properties

options - static JSON

parameter: String, // the name of the request parameter indicating the actual page
separator: String, // separator of each element of navigation bar, default " > "
target: String, // the id of the container of the navigation bar, default "navbar"
descriptor: String, // the id of the container of the descriptor, usually an hidden div
linkable: boolean, // if any voice of the navigation bar must have a link to the corresponding page, default true
home: String, // the context path, default "/"
replace: Array // replacer for rendered links

Methods

getParameterValue

static String getParameterValue ( )
Returns the value of the request parameter as that of jsbeans.Navbar.options.parameter
Returns: String
the request parameter value

render

static void render ( [options] )
Renders the UI
Parameters:
[options] <JSON> override of defaults
Returns: void


Copyright © 2016 Francesco Mele. All rights reserved.