Class: SearchbarView

Searchbar SearchbarView

SearchbarView

Extends

Methods

clearSelection(element){*}

modules/searchbar/view.js, line 510
todo
Name Type Description
element * todo

clickBtnQuestion(){void}

modules/searchbar/view.js, line 244
Handling of click event on button quickHelp

clickHandler(){void}

modules/searchbar/view.js, line 252
Handling of click event

clickListGroupItem(e){void}

modules/searchbar/view.js, line 229
Handling of click event on a ListGroupItem
Name Type Description
e event Event

collapseHits(target){*}

modules/searchbar/view.js, line 804
todo
Name Type Description
target * todo

controlEvent(evt){void}

modules/searchbar/view.js, line 695
controls the input sequence of events, so that the paste works with shortcut and with contextmenu because with ctrl + c comes 1 paste and 2 keyup events, but with right-click and paste comes 1 contextmenu and 1 paste event
Name Type Description
evt event a keyup, paste or contextmenu event

deleteSearchString(){void}

modules/searchbar/view.js, line 845
Unsets the search to initial state: Clearing up the text input field, hiding the menu and hiding all map marker.

focusOnEnd(element){void}

modules/searchbar/view.js, line 913
Places the cursor at the end of the string
Name Type Description
element Element the DOM-element

getDropdownHeight(){integer}

modules/searchbar/view.js, line 314
Calculates the height of the dropdown div. Default 100 should allways fit roughly.
Returns:
height

getFirstChildElement(selected){*}

modules/searchbar/view.js, line 546
todo
Name Type Description
selected * todo

getFirstElement(){*}

modules/searchbar/view.js, line 675
todo

getLastElement(){*}

modules/searchbar/view.js, line 683
todo

getNextElement(selected){*}

modules/searchbar/view.js, line 634
todo
Name Type Description
selected * todo

getSelectedElement(element){*}

modules/searchbar/view.js, line 501
todo
Name Type Description
element * todo

handlePasteEvent(evt, count){void}

modules/searchbar/view.js, line 726
handle paste event
Name Type Description
evt event a keyup, paste or contextmenu event
count number temporary counter to control input events

hideMarker(evt){void}

modules/searchbar/view.js, line 889
Hides all map markers.
Name Type Description
evt event mouse leave event
Fires:

hideMenu(){void}

modules/searchbar/view.js, line 306
Verbirgt die Menubar

hitSelected(evt){void}

modules/searchbar/view.js, line 411
Proposal was selected.
Name Type Description
evt evt Event

initialRender(){*}

modules/searchbar/view.js, line 214
todo

isChildElement(element){*}

modules/searchbar/view.js, line 537
todo
Name Type Description
element * todo

isFirstElement(element){*}

modules/searchbar/view.js, line 528
todo
Name Type Description
element * todo

isFolderElement(element){*}

modules/searchbar/view.js, line 555
todo
Name Type Description
element * todo

isLastElement(element){*}

modules/searchbar/view.js, line 519
todo
Name Type Description
element * todo
modules/searchbar/view.js, line 273
Handling of menuLoader:ready
Name Type Description
parentElementId String parentElementId
modules/searchbar/view.js, line 462
todo
Name Type Description
e * todo

nextElement(selected){*}

modules/searchbar/view.js, line 599
todo
Name Type Description
selected * todo

onresizeCallback(){void}

modules/searchbar/view.js, line 198
Callback for window onresize event

positionOfCursorToEnd(){void}

modules/searchbar/view.js, line 786
puts the cursor at the end of the text when the arrow key up or down is up, if navigate through results

prepareAttrStrings(hitlist){*}

modules/searchbar/view.js, line 359
todo
Name Type Description
hitlist * todo

prevElement(selected){*}

modules/searchbar/view.js, line 643
todo
Name Type Description
selected * todo

render(){*}

modules/searchbar/view.js, line 170
todo

renderHitList(){*}

modules/searchbar/view.js, line 383
todo

renderRecommendedList(){*}

modules/searchbar/view.js, line 325
todo

resetScroll(element){*}

modules/searchbar/view.js, line 590
todo
Name Type Description
element * todo

scrollToNext(li){*}

modules/searchbar/view.js, line 564
todo
Name Type Description
li * todo

scrollToPrev(li){*}

modules/searchbar/view.js, line 577
todo
Name Type Description
li * todo

searchAll(){*}

modules/searchbar/view.js, line 375
todo

setFocus(){void}

modules/searchbar/view.js, line 402
Set focus in searchInput

setSearchbarString(searchstring){void}

modules/searchbar/view.js, line 298
Methode, um den Searchstring über den Radio zu steuern ohne Event auszulösen
Name Type Description
searchstring string Der einzufügende Searchstring

setSearchInputWidth(){void}

modules/searchbar/view.js, line 261
Sets the width of search input via JS

setSearchString(evt){*}

modules/searchbar/view.js, line 741
todo
Name Type Description
evt * todo

showMarker(evt){void}

modules/searchbar/view.js, line 860
Handler for mouseenter event on hit.
Name Type Description
evt $.Event Event
Fires:

toggleStyleForRemoveIcon(evt){*}

modules/searchbar/view.js, line 822
todo
Name Type Description
evt * todo

viewMobileChanged(){void}

modules/searchbar/view.js, line 289
Handling of isViewMobileChanged