File

projects/m2-core/src/lib/shared/ui-components/card/card-rows.component.ts

Metadata

Index

Properties
Methods
Inputs
Outputs

Constructor

constructor()

Inputs

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

Outputs

columnsResized
Type : EventEmitter

Methods

onRationInPercentChanged
onRationInPercentChanged(ratioInPercent: number)

Layout

Parameters :
Name Type Optional
ratioInPercent number No
Returns : void
Public scrollRowIntoView
scrollRowIntoView(row: CardRow, expand?: boolean, scrollOptions?: boolean | ScrollIntoViewOptions)
Parameters :
Name Type Optional
row CardRow No
expand boolean Yes
scrollOptions boolean | ScrollIntoViewOptions Yes
Returns : void
Public updateLayout
updateLayout(ratio: number)

public API

Parameters :
Name Type Optional
ratio number No
Returns : void

Properties

cardTemplateComponent
Type : CardTemplateComponent<T>
Decorators :
@ViewChild(CardTemplateComponent)
colWidthRatioInPercent
Type : number
Default value : 50
rowComponents
Type : QueryList<ItemCardRowComponent>
Decorators :
@ViewChildren(ItemCardRowComponent)
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""