Skip to content

Commit c823e45

Browse files
committed
Corrected the documentation for min_length
min_length instead of min-length
1 parent 1146e71 commit c823e45

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,12 @@ Custom search config for above html template 'a' tag(filtering item), if we want
221221

222222
min_length:
223223

224-
Inspired by the 'minLength' option in Jquery's Autocomplete Widget, the 'min-length' specifies the minimum number of characters a user must type before a search is performed.
224+
Inspired by the 'minLength' option in Jquery's Autocomplete Widget, the 'min_length' specifies the minimum number of characters a user must type before a search is performed.
225225
'1' is the default value and is useful for local data with just a few items, but a higher value should be used when a single character search could match a few thousand items.
226226

227227
Code examples:
228228

229-
Initialize the filter with the 'min-length' option specified:
229+
Initialize the filter with the 'min_length' option specified:
230230

231231
search: { input: '#searchbox', search_in: 'div.fs_head', min_length: 3 },
232232

@@ -342,7 +342,7 @@ v1.5.1
342342
Change callbacks format.
343343

344344
v1.5.2
345-
Initialize the filter with the min-length option specified.
345+
Initialize the filter with the min_length option specified.
346346

347347
Sponsors and Supporters
348348
-----------------------

0 commit comments

Comments
 (0)