File

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

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Outputs
HostListeners

Inputs

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

Outputs

resized
Type : EventEmitter
viewInit
Type : EventEmitter

HostListeners

window:resize
window:resize()

Methods

handleSpTopChanged
handleSpTopChanged(recalcRatio?: boolean)
Parameters :
Name Type Optional
recalcRatio boolean Yes
Returns : void
ngAfterViewInit
ngAfterViewInit()
Returns : void
onDragFinish
onDragFinish()
Returns : void
onDragging
onDragging(undefined)
Parameters :
Name Optional
No
Returns : void
onDragStart
onDragStart()
Returns : void
Public setUpLayout
setUpLayout()
Decorators :
@HostListener('window:resize')
Returns : void
Public updateLayout
updateLayout(ratio: number)
Parameters :
Name Type Optional
ratio number No
Returns : void
updateSpTop
updateSpTop(spTop: number)
Parameters :
Name Type Optional
spTop number No
Returns : void

Properties

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
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""