projects/m2-core/src/lib/widget-modules/card/card-template/card-template.component.ts
| selector | card-template |
| template | |
Properties |
Methods |
|
Inputs |
Outputs |
constructor()
|
| hasData |
Type : boolean
|
Default value : true
|
| 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
|
| helpRequested |
Type : EventEmitter
|
| rationInPercentChanged |
Type : EventEmitter
|
| ngOnInit |
ngOnInit()
|
|
Returns :
void
|
| onColumnsResized | ||||
onColumnsResized(ratio)
|
||||
|
Layout
Parameters :
Returns :
void
|
| Public updateLayout | ||||||
updateLayout(ratio: number)
|
||||||
|
Parameters :
Returns :
void
|
| colWidthRatioInPercent |
Type : number
|
Default value : 50
|
| splitterComponent |
Type : SplitterComponent
|
Decorators :
@ViewChild(SplitterComponent)
|