Class: SearchbarView

Searchbar SearchbarView

SearchbarView

Extends

Methods

clearSelection(element){*}

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

clickBtnQuestion(){void}

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

clickHandler(){void}

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

clickListGroupItem(e){void}

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

collapseHits(target){*}

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

controlEvent(evt){void}

modules/searchbar/view.js, line 698
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 848
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 919
Places the cursor at the end of the string
Name Type Description
element Element the DOM-element

getDropdownHeight(){integer}

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

getFirstChildElement(selected){*}

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

getFirstElement(){*}

modules/searchbar/view.js, line 678
todo

getLastElement(){*}

modules/searchbar/view.js, line 686
todo

getNextElement(selected){*}

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

getSelectedElement(element){*}

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

handlePasteEvent(evt, count){void}

modules/searchbar/view.js, line 729
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 895
Hides all map markers.
Name Type Description
evt event mouse leave event
Fires:

hideMenu(){void}

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

hitSelected(evt){void}

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

initialRender(){*}

modules/searchbar/view.js, line 217
todo

isChildElement(element){*}

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

isFirstElement(element){*}

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

isFolderElement(element){*}

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

isLastElement(element){*}

modules/searchbar/view.js, line 522
todo
Name Type Description
element * todo
modules/searchbar/view.js, line 276
Handling of menuLoader:ready
Name Type Description
parentElementId String parentElementId
modules/searchbar/view.js, line 465
todo
Name Type Description
e * todo

nextElement(selected){*}

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

onresizeCallback(){void}

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

positionOfCursorToEnd(){void}

modules/searchbar/view.js, line 799
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 362
todo
Name Type Description
hitlist * todo

prevElement(selected){*}

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

render(){*}

modules/searchbar/view.js, line 137
todo

renderHitList(){*}

modules/searchbar/view.js, line 386
todo

renderRecommendedList(){*}

modules/searchbar/view.js, line 328
todo

resetScroll(element){*}

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

scrollToNext(li){*}

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

scrollToPrev(li){*}

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

searchAll(){*}

modules/searchbar/view.js, line 378
todo

setFocus(){void}

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

setSearchbarString(searchstring){void}

modules/searchbar/view.js, line 301
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 264
Sets the width of search input via JS

setSearchString(evt){*}

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

showMarker(evt){void}

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

toggleStyleForRemoveIcon(evt){*}

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

viewMobileChanged(){void}

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