MCPcopy Create free account
hub / github.com/electronstudio/raylib-python-cffi / _finishSearch

Function _finishSearch

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

Source from the content-addressed store, hash-verified

128 Search.output.appendChild(listItem);
129};
130const _finishSearch = (resultCount) => {
131 Search.stopPulse();
132 Search.title.innerText = _("Search Results");
133 if (!resultCount)
134 Search.status.innerText = Documentation.gettext(
135 "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.",
136 );
137 else
138 Search.status.innerText = Documentation.ngettext(
139 "Search finished, found one page matching the search query.",
140 "Search finished, found ${resultCount} pages matching the search query.",
141 resultCount,
142 ).replace("${resultCount}", resultCount);
143};
144const _displayNextItem = (
145 results,
146 resultCount,

Callers 1

_displayNextItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected