MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / _finishSearch

Function _finishSearch

docs/_static/searchtools.js:103–114  ·  view source on GitHub ↗
(resultCount)

Source from the content-addressed store, hash-verified

101 Search.output.appendChild(listItem);
102};
103const _finishSearch = (resultCount) => {
104 Search.stopPulse();
105 Search.title.innerText = _("Search Results");
106 if (!resultCount)
107 Search.status.innerText = Documentation.gettext(
108 "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
109 );
110 else
111 Search.status.innerText = _(
112 `Search finished, found ${resultCount} page(s) matching the search query.`
113 );
114};
115const _displayNextItem = (
116 results,
117 resultCount,

Callers 1

_displayNextItemFunction · 0.85

Calls 1

_Function · 0.85

Tested by

no test coverage detected