[ACS-6071] fix docs for process cloud (#8947)

* fix docs for process cloud

* fix typo
This commit is contained in:
Denys Vuika
2023-09-28 16:44:57 +01:00
committed by GitHub
parent a48438e1c1
commit d78dcd2156
23 changed files with 202 additions and 58 deletions

View File

@@ -45,7 +45,8 @@ export class AppListCloudComponent implements OnInit, AfterContentInit {
@ContentChild(CustomEmptyContentTemplateDirective)
emptyCustomContent: CustomEmptyContentTemplateDirective;
/** (**required**) Defines the layout of the apps. There are two possible
/**
* Defines the layout of the apps. There are two possible
* values, "GRID" and "LIST".
*/
@Input()
@@ -87,6 +88,8 @@ export class AppListCloudComponent implements OnInit, AfterContentInit {
/**
* Check if the value of the layoutType property is an allowed value
*
* @returns `true` if layout type is valid, otherwise `false`
*/
isValidType(): boolean {
if (this.layoutType && (this.layoutType === LAYOUT_LIST || this.layoutType === LAYOUT_GRID)) {
@@ -103,14 +106,18 @@ export class AppListCloudComponent implements OnInit, AfterContentInit {
}
/**
* Return true if the layout type is LIST
* Check if the layout type is LIST
*
* @returns `true` if the layout is list, otherwise `false`
*/
isList(): boolean {
return this.layoutType === LAYOUT_LIST;
}
/**
* Return true if the layout type is GRID
* Check if the layout type is GRID
*
* @returns `true` if layout is grid, otherwise `false`
*/
isGrid(): boolean {
return this.layoutType === LAYOUT_GRID;