projects/m2-core/src/lib/shared/ui-components/layout/double-splitter/sdi-double-splitter.component.ts
| selector | sdi-double-splitter |
| styleUrls | ./sdi-double-splitter.component.scss |
| templateUrl | ./sdi-double-splitter.component.html |
Properties |
Methods |
Inputs |
Outputs |
HostListeners |
Accessors |
| defaultLeftRatio |
Type : number
|
Default value : .25
|
| defaultRightRatio |
Type : number
|
Default value : .25
|
| leftRatio |
Type : number
|
Default value : 0.25
|
| minCenterWidth |
Type : number
|
Default value : 50
|
| minLeftWidth |
Type : number
|
Default value : 0
|
| minRightWidth |
Type : number
|
Default value : 0
|
| rightRatio |
Type : number
|
Default value : 0.25
|
| showToggles |
Type : boolean
|
Default value : true
|
| spWidth |
Type : number
|
Default value : 5
|
| transparent |
Type : boolean
|
Default value : false
|
| transparentSplitters |
Type : boolean
|
Default value : false
|
| resized |
Type : EventEmitter
|
| window:resize |
window:resize()
|
| dragFinished1 |
dragFinished1()
|
|
Returns :
void
|
| dragFinished2 |
dragFinished2()
|
|
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| onDragging1 | |||
onDragging1(undefined)
|
|||
|
Parameters :
Returns :
void
|
| onDragging2 | |||
onDragging2(undefined)
|
|||
|
Parameters :
Returns :
void
|
| onDragStart |
onDragStart()
|
|
Returns :
void
|
| onLeftToggleClick |
onLeftToggleClick()
|
|
Returns :
void
|
| onRightToggleClick |
onRightToggleClick()
|
|
Returns :
void
|
| setUpLayout |
setUpLayout()
|
Decorators :
@HostListener('window:resize')
|
|
Returns :
void
|
| Public updateLayout | ||||||
updateLayout(ratios: DoubleSplitterMode)
|
||||||
|
Parameters :
Returns :
void
|
| centerContainer |
Type : ElementRef
|
Decorators :
@ViewChild('centerContainer')
|
| centerStyle |
Type : CSSStyleDeclaration
|
| curSp1Left |
Type : number
|
| curSp2Left |
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
|
| sp1Style |
Type : CSSStyleDeclaration
|
| sp2Style |
Type : CSSStyleDeclaration
|
| splitter1 |
Type : ElementRef
|
Decorators :
@ViewChild('splitter1')
|
| splitter2 |
Type : ElementRef
|
Decorators :
@ViewChild('splitter2')
|
| spSeparatorWidth |
Type : number
|
Default value : 1
|
| totalWidth |
Type : number
|
| isLeftCollapsed |
getisLeftCollapsed()
|
|
Toggle
Returns :
boolean
|
| isRightCollapsed |
getisRightCollapsed()
|