Skip to content

Commit

Permalink
Document HydeSearch overloading
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 8, 2024
1 parent 0878552 commit a3ac13a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/framework/resources/js/HydeSearch.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/**
* This file provides support for the Alpine.js search component.
*
* It's automatically loaded by the hyde-search.blade.php component.
*
* It can be replaced by a custom implementation, at the developer's own risk,
* by providing a new compatible implementation in ./resources/js/HydeSearch.js.
*
* @param {string} searchIndexUrl
* @returns {Object}
*/
function initHydeSearch(searchIndexUrl) {
return {
searchIndex: [],
Expand Down

0 comments on commit a3ac13a

Please sign in to comment.