projects/m2-core/src/lib/shared/ui-components/layout/splitter/splitter.component.ts
| selector | sdi-splitter |
| styleUrls | ./splitter.component.scss |
| templateUrl | ./splitter.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostListeners |
Accessors |
| defaultRatio |
Type : number
|
Default value : .5
|
| disabled |
Type : boolean
|
| isLeftToggle |
Type : boolean
|
Default value : true
|
| minLeftWidth |
Type : number
|
Default value : 0
|
| minRightWidth |
Type : number
|
Default value : 0
|
| ratio |
Type : number
|
Default value : .5
|
| separatorClasses |
Type : string
|
Default value : ''
|
| separatorStyle |
Type : any
|
| showToggle |
Type : boolean
|
| spWidth |
Type : number
|
Default value : 5
|
| style |
Type : any
|
| transparent |
Type : boolean
|
| resized |
Type : EventEmitter
|
| viewInit |
Type : EventEmitter
|
| window:resize |
window:resize()
|
| handleSpLeftChanged | ||||||
handleSpLeftChanged(recalcRatio?: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| onDragFinish |
onDragFinish()
|
|
Returns :
void
|
| onDragging | |||
onDragging(undefined)
|
|||
|
Parameters :
Returns :
void
|
| onDragStart |
onDragStart()
|
|
Returns :
void
|
| onToggleClick |
onToggleClick()
|
|
Returns :
void
|
| Public setUpLayout |
setUpLayout()
|
Decorators :
@HostListener('window:resize')
|
|
Returns :
void
|
| Public updateLayout | ||||||
updateLayout(ratio: number)
|
||||||
|
Parameters :
Returns :
void
|
| updateSpLeft | ||||||
updateSpLeft(spLeft: number)
|
||||||
|
Parameters :
Returns :
void
|
| validate |
validate()
|
|
Returns :
void
|
| curSpLeft |
Type : number
|
| Optional dragging |
Type : boolean
|
| layout |
Type : ElementRef
|
Decorators :
@ViewChild('layout')
|
| leftContainer |
Type : ElementRef
|
Decorators :
@ViewChild('leftContainer')
|
| leftStyle |
Type : CSSStyleDeclaration
|
| rightContainer |
Type : ElementRef
|
Decorators :
@ViewChild('rightContainer')
|
| rightStyle |
Type : CSSStyleDeclaration
|
| splitter |
Type : ElementRef
|
Decorators :
@ViewChild('splitter')
|
| spSeparatorWidth |
Type : number
|
Default value : 1
|
| spStyle |
Type : CSSStyleDeclaration
|
| totalWidth |
Type : number
|
| isLeftCollapsed |
getisLeftCollapsed()
|
|
Toggle
Returns :
boolean
|
| isRightCollapsed |
getisRightCollapsed()
|