class GroupingStrategy extends Object
The <head> merging strategy which groups like elements together.
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
findPositionForModel(IModel headModel, IModel childModel)Returns the index of the last set of elements that are of the same 'type' as the content node. |
Returns the index of the last set of elements that are of the same 'type' as the content node. eg: groups scripts with scripts, stylesheets with stylesheets, and so on.