diff --git a/README.md b/README.md index 6e582e0..82eba30 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Placeholder for input Custom class name for autocomplete component #### classes (Object) -Spesific custom class for each part. available: wrapper, input, list, and item +Specific custom class for each part. available: wrapper, input, list #### id (String) Custom id name for autocomplete component @@ -182,8 +182,11 @@ Number of milliseconds the user should stop typing for before the request is sen #### process (Function) Function to process the API result with. Should return an array of entries or an object whose properties can be enumerated. -#### template (Function) -Function to process each result with. Takes the type of an API reply element and should return HTML data. +#### customParams (Object) +Object of key value pairs to be send along with the request as query parameters. + +#### customHeaders (Object) +Object of key value pairs with custom headers to be sent along with the request. ## Callback Events