Namespace: gui

dbkjs. gui

A collection of functions to manipulate the visual representation in the application

Methods

(static) createRefreshButton(obj)

Create a button that gives users the possibility to refresh the map

Parameters:
Name Type Description
obj Object

(static) detailsPanelHide()

Hide the Details panel

(static) detailsPanelShow()

Show the Details panel

(static) detailsPanelUpdateHtml(html)

Update the content for the Details panel

Parameters:
Name Type Description
html String

HTML formatted String

(static) detailsPanelUpdateTitle(text)

Update the title for the Details panel

Parameters:
Name Type Description
text String

Plain or HTML formatted String

(static) infoPanelAddItemClickEvent(obj)

Add a click Event to a DOM element

Parameters:
Name Type Description
obj Object

DOM element

Deprecated:
  • not used

(static) infoPanelAddItems(html)

Add DOM elements to the body of the Information panel

Parameters:
Name Type Description
html String

HTML formatted String

(static) infoPanelAddPagination()

Add pagination to the Information panel

(static) infoPanelHide()

Hide the Information panel

(static) infoPanelShow()

Show the Information panel

(static) infoPanelShowFooter()

Show the Information panel footer

(static) infoPanelUpdateFooterHtml(html)

Update the footer for the Information panel

Parameters:
Name Type Description
html String

HTML formatted String

(static) infoPanelUpdateHtml(html)

Update the content for the Information panel

Parameters:
Name Type Description
html String

HTML formatted String

(static) infoPanelUpdateTitle(text)

Update the title for the Information panel

Parameters:
Name Type Description
text String

Plain text or HTML formatted String

Set the logo to be displayed in the application. Overrides the default logo

(static) showError(errMsg)

Renders an error messag in the application alert dialog

Parameters:
Name Type Description
errMsg String

Plain or HTML formatted String

(static) updateSearchInput(obj, name, dbk_naam_array)

Changes the dataset for the typeahead function and binds it to an object

Parameters:
Name Type Description
obj Object

Object to bind to

name String
dbk_naam_array Array

array with searchable objects