Preparing search index...
The search index is not available
@bridgeline-digital/hawksearch-handlebars-ui
@bridgeline-digital/hawksearch-handlebars-ui
Services
AutocompleteService
Class AutocompleteService
Hierarchy
BaseService
AutocompleteService
Index
Constructors
constructor
Properties
base
Url
query
String
Params
search
Url
Methods
bind
Component
generate
Guid
get
Url
get
Visit
Id
get
Visitor
Id
http
Post
query
strip
Html
trigger
Bind
Event
trigger
Event
Constructors
constructor
new
Autocomplete
Service
(
)
:
AutocompleteService
Returns
AutocompleteService
Properties
Protected
base
Url
base
Url
:
string
= ...
query
String
Params
query
String
Params
:
{
disableSpellcheck
:
string
;
facet
:
string
;
page
:
string
;
pageSize
:
string
;
query
:
string
;
searchWithin
:
string
;
sort
:
string
;
}
= ...
Type declaration
disable
Spellcheck
:
string
facet
:
string
page
:
string
page
Size
:
string
query
:
string
search
Within
:
string
sort
:
string
search
Url
search
Url
:
string
= ...
Methods
bind
Component
bind
Component
(
autocompleteResponse
:
AutocompleteResponse
)
:
void
Parameters
autocompleteResponse:
AutocompleteResponse
Returns
void
Protected
generate
Guid
generate
Guid
(
)
:
string
Returns
string
Protected
get
Url
get
Url
(
prefix
:
undefined
|
string
, url
:
undefined
|
string
)
:
undefined
|
string
Parameters
prefix:
undefined
|
string
url:
undefined
|
string
Returns
undefined
|
string
Protected
get
Visit
Id
get
Visit
Id
(
)
:
string
Returns
string
Protected
get
Visitor
Id
get
Visitor
Id
(
)
:
string
Returns
string
Protected
http
Post
http
Post
<
T
>
(
relativeUrl
:
string
, body
?:
any
)
:
Promise
<
T
>
Type Parameters
T
Parameters
relativeUrl:
string
Optional
body:
any
Returns
Promise
<
T
>
query
query
(
query
:
string
)
:
Promise
<
AutocompleteResponse
>
Parameters
query:
string
Returns
Promise
<
AutocompleteResponse
>
Protected
strip
Html
strip
Html
(
input
:
string
)
:
string
Parameters
input:
string
Returns
string
Protected
trigger
Bind
Event
trigger
Bind
Event
<
T
>
(
component
:
keyof
HawkSearchComponents
, data
:
T
, filter
?:
string
)
:
void
Type Parameters
T
Parameters
component:
keyof
HawkSearchComponents
data:
T
Optional
filter:
string
Returns
void
Protected
trigger
Event
trigger
Event
<
T
>
(
name
:
string
, data
:
T
)
:
void
Type Parameters
T
Parameters
name:
string
data:
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
@bridgeline-
digital/hawksearch-
handlebars-
ui
Components
Configuration
Helpers
Models
Services
Autocomplete
Service
constructor
base
Url
query
String
Params
search
Url
bind
Component
generate
Guid
get
Url
get
Visit
Id
get
Visitor
Id
http
Post
query
strip
Html
trigger
Bind
Event
trigger
Event