mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
* ACS-4565 Added possibility to search categories * ACS-4565 Fixed unit test * ACS-4565 Fixed lint issue * ACS-4565 Removed extra empty line * ACS-4565 Replaced tags label with categories label in unit tests * ACS-4565 Replaced tags label with categories label in doc
1.7 KiB
1.7 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Category tree datasource service | v6.0.0.0 | Active | 2023-01-25 |
Category tree datasource service
Datasource service for category tree.
Class members
Methods
- getSubNodes(parentNodeId:
string
, skipCount?:number
, maxItems?:number
, name?:string
):Observable
<
TreeResponse<CategoryNode>
>
Gets categories as nodes for category tree.- parentNodeId:
string
- Identifier of a parent category - skipCount:
number
- Number of top categories to skip - maxItems:
number
- Maximum number of subcategories returned from Observable - name:
string
- Optional parameter which specifies if categories should be filtered out by name or not. If not specified then returns categories without filtering. - Returns
Observable
<
TreeResponse<CategoryNode>
>
- TreeResponse object containing pagination object and list on nodes
- parentNodeId:
Details
Category tree datasource service acts as datasource for tree component utilizing category service. See the Tree component and Tree service to get more details on how datasource is used.