projects/m2-core/src/lib/shared/ui-components/layout/splitter-h/splitter-h.component.ts
| selector | sdi-splitter-h |
| styleUrls | ./splitter-h.component.scss |
| templateUrl | ./splitter-h.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostListeners |
| defaultRatio |
Type : number
|
Default value : .5
|
| minBottomHeight |
Type : number
|
Default value : 0
|
| minTopHeight |
Type : number
|
Default value : 0
|
| ratio |
Type : number
|
Default value : .5
|
| separatorClasses |
Type : string
|
Default value : ''
|
| separatorStyle |
Type : any
|
| spWidth |
Type : number
|
Default value : 5
|
| style |
Type : any
|
| topOnly |
Type : boolean
|
| transparent |
Type : boolean
|
| resized |
Type : EventEmitter
|
| viewInit |
Type : EventEmitter
|
| window:resize |
window:resize()
|
| handleSpTopChanged | ||||||
handleSpTopChanged(recalcRatio?: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| onDragFinish |
onDragFinish()
|
|
Returns :
void
|
| onDragging | |||
onDragging(undefined)
|
|||
|
Parameters :
Returns :
void
|
| onDragStart |
onDragStart()
|
|
Returns :
void
|
| Public setUpLayout |
setUpLayout()
|
Decorators :
@HostListener('window:resize')
|
|
Returns :
void
|
| Public updateLayout | ||||||
updateLayout(ratio: number)
|
||||||
|
Parameters :
Returns :
void
|
| updateSpTop | ||||||
updateSpTop(spTop: number)
|
||||||
|
Parameters :
Returns :
void
|
| bottomContainer |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('bottomContainer')
|
| bottomStyle |
Type : CSSStyleDeclaration
|
| curSpTop |
Type : number
|
| layout |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('layout')
|
| splitter |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('splitter')
|
| spSeparatorWidth |
Type : number
|
Default value : 1
|
| spStyle |
Type : CSSStyleDeclaration
|
| topContainer |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('topContainer')
|
| topStyle |
Type : CSSStyleDeclaration
|
| totalHeight |
Type : number
|