Module: WrapperTracer

Classes

WrapperTracer
CONSTRUCTOR.

Namespaces

WrapperTracer
It is a namespace / class. This generate a Wrapper object to inject events in objects methods and tracking their execution cycle.

Members

(inner) _callback

Callback to insert in the wrapped.

Outer function to insert in 'wrapped' object within each method. [OPCIONAL]

Source:

(inner) _container

container element

Build the UI informative interface

Source:

(inner) _id

SELF-GENERATED IDENTIFICATOR

Source:

(inner) _target

Original Object

Source:

(inner) _wrapped

Object Wrapped.

Build the UI executive

Source:

(private, inner) Util

Static object of utility. It can be obtained through its GETTER WrapperTracer#getUtil()

STATIC OBJECT WITH UTILITY METHODS BUT WITHOUT STATE

Properties:
Name Type Description
Util Object

The Util object

Properties
Name Type Description
wrapp function

The wrapped object

clone function

Clone the original object

inyect function

Inyect events in the methods

getProperties function

Gets a listing with the properties

LIFO Object

Stack which manages the routes

UI Object

Builds the interface

addClass function

Adds a class to DOM element

removeClass function

Remove a class from DOM element

toggleClass function

Add/Remove a class to DOM element

hasClass function

Checks for a class in a DOM element

addEvent function

[CROSS-BROWSER] Adds a event to DOM element

removeEvent function

[CROSS-BROWSER] Remove a event from DOM element

hasEvent function

[CROSS-BROWSER] Checks for a event in a DOM element

toggleDisplay function

Toggle a DOM element visibility

getClassName function

It gets a class name based on an object

name string

[DEBUG] Name of this object.

Source:

Δ