projects/m2-core/src/lib/shared/ui-components/card/card-rows.component.ts
| selector | card-rows |
| template | |
Properties |
Methods |
|
Inputs |
Outputs |
constructor()
|
| cardRowInitIndent |
Type : any
|
Default value : CONSTANTS.CARD_ROW_INIT_INDENT
|
| editModeON |
Type : boolean
|
| initRatio |
Type : number
|
Default value : .5
|
| loadingData |
Type : boolean
|
| noDataMsg |
Type : any
|
Default value : $localize`:@@noDataMsg:нет данных`
|
| noOwnerMsg |
Type : any
|
Default value : $localize`:@@objectNotSelectedMsg:объект не выбран`
|
| owner |
Type : T
|
Default value : {} as T
|
| rootRows |
Type : CardRow[]
|
| showEmptyInReadMode |
Type : boolean
|
| columnsResized |
Type : EventEmitter
|
| onRationInPercentChanged | ||||||
onRationInPercentChanged(ratioInPercent: number)
|
||||||
|
Layout
Parameters :
Returns :
void
|
| Public scrollRowIntoView | ||||||||||||
scrollRowIntoView(row: CardRow, expand?: boolean, scrollOptions?: boolean | ScrollIntoViewOptions)
|
||||||||||||
|
Parameters :
Returns :
void
|
| Public updateLayout | ||||||
updateLayout(ratio: number)
|
||||||
|
public API
Parameters :
Returns :
void
|
| cardTemplateComponent |
Type : CardTemplateComponent<T>
|
Decorators :
@ViewChild(CardTemplateComponent)
|
| colWidthRatioInPercent |
Type : number
|
Default value : 50
|
| rowComponents |
Type : QueryList<ItemCardRowComponent>
|
Decorators :
@ViewChildren(ItemCardRowComponent)
|