|
docs
Community
Feedback
News
Guides
Searching With Coveo
Project Guide
Services
API Reference
JavaScript Search Framework
Headless
Push API
Field API
Search API
Usage Analytics API
Other APIs
Extensions
Coveo for Commerce
Coveo for Salesforce
Coveo for ServiceNow
Coveo for Sitecore
Filter
Inherited
Globals
Result
Layout
Selector
change
Layout
debug
Info
disable
enable
get
Bindings
get
Current
Layout
get
bind
component
Options
Model
component
State
Model
disabled
logger
query
Controller
query
State
Model
root
search
Interface
ID
usage
Analytics
options
constructor
Globals
ResultLayoutSelector
Coveo ResultLayoutSelector Component (CoveoResultLayoutSelector)
Index
Methods
change
Layout
debug
Info
disable
enable
get
Bindings
get
Current
Layout
get
Properties
bind
component
Options
Model
component
State
Model
disabled
logger
query
Controller
query
State
Model
root
search
Interface
ID
Accessors
usage
Analytics
Component Options
desktop
Layouts
mobile
Layouts
tablet
Layouts
Constructors
constructor
Methods
change
Layout
change
Layout
(
layout
:
ValidLayout
)
:
void
Parameters
layout:
ValidLayout
Returns
void
debug
Info
debug
Info
(
)
:
any
Returns
any
disable
disable
(
)
:
void
Returns
void
enable
enable
(
)
:
void
Returns
void
get
Bindings
get
Bindings
(
)
:
IComponentBindings
Returns
IComponentBindings
get
Current
Layout
get
Current
Layout
(
)
:
"list"
|
"card"
|
"table"
Returns
"list"
|
"card"
|
"table"
The current current layout.
Static
get
get
(
element
:
HTMLElement
, componentClass
?:
any
, noThrow
?:
boolean
)
:
BaseComponent
Parameters
element:
HTMLElement
Optional
componentClass:
any
Optional
noThrow:
boolean
Returns
BaseComponent
Properties
bind
bind
:
ComponentEvents
component
Options
Model
component
Options
Model
:
ComponentOptionsModel
component
State
Model
component
State
Model
:
ComponentStateModel
disabled
disabled
:
boolean
logger
logger
:
Logger
query
Controller
query
Controller
:
QueryController
query
State
Model
query
State
Model
:
QueryStateModel
root
root
:
HTMLElement
search
Interface
search
Interface
:
SearchInterface
Static
ID
ID
:
string
Accessors
usage
Analytics
usage
Analytics
:
Component Options
desktop
Layouts
desktop
Layouts
:
string[]
|
("list" | "card" | "table")[]
mobile
Layouts
mobile
Layouts
:
string[]
|
("list" | "card" | "table")[]
tablet
Layouts
tablet
Layouts
:
string[]
|
("list" | "card" | "table")[]
Constructors
constructor
new
Result
Layout
Selector
(
element
:
HTMLElement
, options
?:
IResultLayoutOptions
, bindings
?:
IComponentBindings
)
:
ResultLayoutSelector
Parameters
element:
HTMLElement
Optional
options:
IResultLayoutOptions
Optional
bindings:
IComponentBindings
Returns
ResultLayoutSelector