File

projects/m2-core/src/lib/shared/ui-components/layout/double-splitter/sdi-double-splitter.component.ts

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Outputs
HostListeners
Accessors

Inputs

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

Outputs

resized
Type : EventEmitter

HostListeners

window:resize
window:resize()

Methods

dragFinished1
dragFinished1()
Returns : void
dragFinished2
dragFinished2()
Returns : void
ngAfterViewInit
ngAfterViewInit()
Returns : void
onDragging1
onDragging1(undefined)
Parameters :
Name Optional
No
Returns : void
onDragging2
onDragging2(undefined)
Parameters :
Name Optional
No
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 :
Name Type Optional
ratios DoubleSplitterMode No
Returns : void

Properties

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

Accessors

isLeftCollapsed
getisLeftCollapsed()

Toggle

Returns : boolean
isRightCollapsed
getisRightCollapsed()
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""