Zero Weight JavaScript Library
Выбрано: 0 | English

Concepts

Architecture of system

z is a point which include all objects and auxiliary functions of the library.

z.Class is a base class for objects supporting inheritance.

z.Element is object-wrapper for objects of a brouser

z.CompoundElement is object which group some objects

z.document

z.browser

z.Delayer

z.Animation

z.bind is linking of function with object.

This function can be useful at creation of event handlers when the event handler have been connected with a parent class.

z.each

z.Element.on assigns to an element the event handler or zero the event handler assigning to the element.

Depending on type and quantity of formal parametres z.Element.style assigns pair including the style and value of the style, some styles at once, returns value of the style

Depending on type and quantity of formal parametres z.Element.prop assigns pair including property and value, assigns some parameters at once, returns value of the parameter

z.Element.select

z.Element.children
z.CompoundElement.each carries out function for each element containing in a compound component

z.CompoundElement.get

z.CompoundElement.select

z.CompoundElement.children

z.CompoundElement.addClass adds a css class to all elements of set.

z.CompoundElement.removeClass removes a css class from all elements of set.

z.CompoundElement.on adds an event handler to all elements of set.