Gravatar for

Question by gminero, Jul 13, 2016 2:57 PM

All state Attributes

Our documentation at has a list of Common state attributes, do we have a list with all state attributes with parameters?


1 Reply
Gravatar for

Answer by olamothe, Jul 14, 2016 10:13 AM

You can get a handle on the QueryState instance as you can for every other component, and then access it's attribute property

Something like this :

var allAttributes = $('.CoveoSearchInterface').coveo(Coveo.QueryStateModel).attributes;
Gravatar for

Comment by gminero, Jul 14, 2016 10:35 AM

Thanks Oli

Ask a question