new HitCollection(hits)
Constructs a hit collection from a given set of hits
Parameters:
Name | Type | Description |
---|---|---|
hits | Array.<$k.Hit> | hits to be set A collection of hits. Can be model of a view. |
- Since
- 5.5.1
Methods
elements() → {Array.<$k.Hit>}
Get the contents as an array of semantic elements.
- Since
- 5.5.1
Returns:
- Type:
- Array.<$k.Hit>