Breadcrumb

App.breadcrumb. Breadcrumb

Responsible for rendering and addition of entries to breadcrumb

Constructor

Methods

(static) clear()

Clears all entries from breadcrumb toolbar

(static) getObjects() → {Array}

Returns all entries currently in breadcrumb toolbar

Returns:

list of breadcrumb entries

Type
Array

addEntry(breadcrumbOnclickParam, title)

Display new entry on breadcrumb toolbar

Parameters:
Name Type Description
breadcrumbOnclickParam string

link invoked on clicking this entry

title string

display value

hide()

Hides breadcrumb from UI

initialize(element, homeLink)

Initialize the breadcrumb

Parameters:
Name Type Description
element HTMLElement

html element where breadcrumb will hook

homeLink string

isEnabled() → {boolean}

Returns true if breadcrumbs is enabled

Returns:

true if enabled, false otherwise

Type
boolean
Parameters:
Name Type Description
pageRef
objectId
Returns:
Type
boolean

show()

Show breadcrumb on UI