Home Manual Reference Source Repository
import {StackHeader} from 'ug-layout/stack/StackHeader'
public class | source

StackHeader

Extends:

docs/dom.js~Renderable → StackHeader

Constructor Summary

Public Constructor
public

constructor(_config: *, _container: *, _dragHost: *)

Member Summary

Public Members
public get
public get
public get

height: *

public get
public get
public get

size: *

public get

width: *

Method Summary

Public Methods
public

addControl(_control: *)

public

addTab(config: *, options: {}): *

public
public
public

getItemFromTab(tab: *): *

public

getOffsetXForTab(tab: *): *

public

getOffsetYForTab(tab: *): *

public

handleDrop(item: *, dropArea: *, e: *)

public
public
public

isTabActive(tab: *): *

public
public

render(): *

Public Constructors

public constructor(_config: *, _container: *, _dragHost: *) source

Params:

NameTypeAttributeDescription
_config *
_container *
_dragHost *

Public Members

public get controls: * source

public get droppable: * source

public get height: * source

public get isDistributed: * source

public get isHorizontal: * source

public get size: * source

public get width: * source

Public Methods

public addControl(_control: *) source

Params:

NameTypeAttributeDescription
_control *

public addTab(config: *, options: {}): * source

Params:

NameTypeAttributeDescription
config *
options {}
  • optional
  • default: {}

Return:

*

public getChildren(): undefined[] source

Return:

undefined[]

public getHighlightCoordinates(args: *): * source

Params:

NameTypeAttributeDescription
args *

Return:

*

public getItemFromTab(tab: *): * source

Params:

NameTypeAttributeDescription
tab *

Return:

*

public getOffsetXForTab(tab: *): * source

Params:

NameTypeAttributeDescription
tab *

Return:

*

public getOffsetYForTab(tab: *): * source

Params:

NameTypeAttributeDescription
tab *

Return:

*

public handleDrop(item: *, dropArea: *, e: *) source

Params:

NameTypeAttributeDescription
item *
dropArea *
e *

public initialize() source

public isDroppable(): * source

Return:

*

public isTabActive(tab: *): * source

Params:

NameTypeAttributeDescription
tab *

Return:

*

public onDropHighlightExit() source

public render(): * source

Return:

*