Breadcrumbs (Bootstrap): Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
== Example ==
== Example ==


Breadcrumbs3.setValue(["Home","Form2","Form3"])
  Breadcrumbs3.setValue(["Home","Form2","Form3"])


== Output ==
== Output ==

Revision as of 21:02, 31 May 2016

Description

Indicate the current page's location within a navigational hierarchy.

You can display it at the top of your screen. This gives the user an easy way to tell where they are in complex, multi level apps, as well as an easy way to navigate back through your app.

Properties and Methods

Standard properties are supported, plus:

items An array of items to display. The items should be form names. For example: ['Home','Form2','Form3']. Design time.
length The number of items in the Breadcrumb's list.
setValue(array) Overrides the list created by ChangeForm. Elements need to be form names. Run time.

Events

Standard events are supported. For this control, the onclick event will be most useful.

Example

 Breadcrumbs3.setValue(["Home","Form2","Form3"])

Output