Class Template

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(el?: any, config?: any): ITemplate

[Method] Creates a template from the passed element s value display none textarea preferred or innerHTML

Parameters

  • el?: any optional

    String/HTMLElement A DOM element or its id.

  • config?: any optional

    Object Config object.

Returns

ITemplate

Ext.Template The created template.

public static getName(): string

[Method] Get the current class name in string format

Returns

string

String className

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