Class Region

Index

Methods

Methods

public static addMembers(members?: any)

[Method] Add methods properties to the prototype of this class

Parameters

  • members?: any optional

    Object

public static addStatics(members?: any): IBase

[Method] Add override static properties of this class

Parameters

  • members?: any optional

    Object

Returns

IBase

Ext.Base this

public static callParent(args?: any)

[Method]

Parameters

  • args?: any optional

    Object

public static create(): any

[Method] Create a new instance of this Class

Returns

any

Object the created instance.

public static createAlias(alias?: any, origin?: any)

[Method] Create aliases for existing prototype methods

Parameters

  • alias?: any optional

    String/Object The new method name, or an object to set multiple aliases. See flexSetter

  • origin?: any optional

    String/Object The original method name

public static from(o?: any): IRegion

[Method] Creates new Region from an object Ext util Region from top 0 right 5 bottom 3 left 1 the above is eq

Parameters

  • o?: any optional

    Object An object with top, right, bottom, and left properties.

Returns

IRegion

Ext.util.Region The region constructed based on the passed object.

public static getName(): string

[Method] Get the current class name in string format

Returns

string

String className

public static getRegion(el?: any): IRegion

[Method] Retrieves an Ext util Region for a particular element

Parameters

  • el?: any optional

    String/HTMLElement/Ext.Element The element or its ID.

Returns

IRegion

Ext.util.Region region

public static override(members?: any): IBase

[Method] Override members of this class

Parameters

  • members?: any optional

    Object The properties to add to this class. This should be specified as an object literal containing one or more properties.

Returns

IBase

Ext.Base this class