new SemanticElementCollection(elements)
Constructs a semantic element collection from a given set of elements
Parameters:
Name | Type | Description |
---|---|---|
elements | Array.<$k.SemanticElement> | elements to be set A collection of topics. Can be model of a view. |
- Since
- 5.4.0
Methods
accessedObject() → {$k.SemanticElement}
Get the semantic element this collection is based upon - if available.
- Since
- 5.4.0
Returns:
- Type:
- $k.SemanticElement
elements() → {Array.<$k.SemanticElement>}
Get the contents as an array of semantic elements.
- Since
- 5.4.0
Returns:
- Type:
- Array.<$k.SemanticElement>