OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/wp-fast-table/helpers/wp-table-hierarchy-helpers.ts

15 lines
401 B

/**
* Returns the collapsed group class for the given ancestor id
*/
export function collapsedGroupClass(ancestorId:string):string {
return `__collapsed-group-${ancestorId}`;
}
export function hierarchyGroupClass(ancestorId:string):string {
return `__hierarchy-group-${ancestorId}`;
}
export function hierarchyRootClass(ancestorId:string):string {
return `__hierarchy-root-${ancestorId}`;
}