Preparing search index...
The search index is not available
@bridgeline-digital/hawksearch-handlebars-ui
@bridgeline-digital/hawksearch-handlebars-ui
Services
RecommendationsService
Class RecommendationsService
Hierarchy
BaseService
RecommendationsService
Index
Constructors
constructor
Properties
base
Url
query
String
Params
search
Url
Methods
bind
Components
generate
Guid
get
Items
get
Url
get
Visit
Id
get
Visitor
Id
http
Post
strip
Html
trigger
Bind
Event
trigger
Event
Constructors
constructor
new
Recommendations
Service
(
)
:
RecommendationsService
Returns
RecommendationsService
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
Components
bind
Components
(
recommendationsResponse
:
RecommendationsResponse
)
:
void
Parameters
recommendationsResponse:
RecommendationsResponse
Returns
void
Protected
generate
Guid
generate
Guid
(
)
:
string
Returns
string
get
Items
get
Items
(
recommendationsRequest
:
RecommendationsRequest
)
:
Promise
<
RecommendationsResponse
>
Parameters
recommendationsRequest:
RecommendationsRequest
Returns
Promise
<
RecommendationsResponse
>
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
>
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
Recommendations
Service
constructor
base
Url
query
String
Params
search
Url
bind
Components
generate
Guid
get
Items
get
Url
get
Visit
Id
get
Visitor
Id
http
Post
strip
Html
trigger
Bind
Event
trigger
Event