$abort *
|
Void |
Aborts load operation initated by the call of $load method. |
Sytaxis:
object.$abort()
|
$activate *
|
Void |
Activates element by dispatching DOMActivate event to the element. |
Sytaxis:
object.$activate()
|
$appendChildAnonymous *
|
AMLElement
|
Appends a child node to the sub-tree of the object. |
Sytaxis:
object.$appendChildAnonymous(oNode) Arguments:
Name |
Type |
O/R |
Description |
oNode |
AMLNode
|
Required |
A child node to be added to the sub-tree. |
|
$getContainer *
|
HTMLElement |
Returns a pointer to a (pseudo-) element in the shadow content. |
Sytaxis:
object.$getContainer([sPseudoElement]) Arguments:
Name |
Type |
O/R |
Description |
sPseudoElement |
String |
Optional |
Name of pseudo-element. |
|
$load *
|
Void |
Loads element content from the remote resource specified by the sUrl argument |
Sytaxis:
object.$load(sUrl) Arguments:
Name |
Type |
O/R |
Description |
sUrl |
String |
Required |
URL |
|
$play *
|
Number |
Starts playing effect and returns the process identifier. |
Sytaxis:
object.$play(sStyle, nDuration, [nType]) Arguments:
Name |
Type |
O/R |
Description |
sStyle |
String |
Required |
CSS declaration. |
nDuration |
Number |
Required |
Effect duration in milliseconds |
nType |
Number |
Optional |
Type of timing. |
|
$removeChildAnonymous *
|
AMLElement
|
Removes child node from the sub-tree of the object. |
Sytaxis:
object.$removeChildAnonymous(oNode) Arguments:
Name |
Type |
O/R |
Description |
oNode |
AMLNode
|
Required |
A child node to be removed from the sub-tree. |
|
$setPseudoClass *
|
Void |
Applies the pseudo class to an element. |
Sytaxis:
object.$setPseudoClass(sName, bState, [sPseudoElement]) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Name of CSS pseudoclass |
bState |
Boolean |
Required |
Flag indicating wether pseudoclass should be set or reset. |
sPseudoElement |
String |
Optional |
Name of pseudo-element. |
|
$stop *
|
Void |
Stops plying effect. |
Sytaxis:
object.$stop(nEffect) Arguments:
Name |
Type |
O/R |
Description |
nEffect |
String |
Required |
Process identifier got from play method call. |
|
addEventListener *
|
Void |
This method allows the registration of an event listener in the default group and, depending on the useCapture parameter, on the capture phase of the DOM event flow or its target and bubbling phases. |
Sytaxis:
object.addEventListener(sType, fListener, bUseCapture) Arguments:
Name |
Type |
O/R |
Description |
sType |
String |
Required |
Specifies the Event.type associated with the event for which the user is registering. |
fListener |
Function |
Required |
Function to be called when the event occurs. |
bUseCapture |
Boolean |
Required |
If true, user wishes to add the event listener for the capture phase only, if false - for target and bubbling phases. |
|
appendChild *
|
AMLNode
|
Appends a child element to the object. |
Sytaxis:
object.appendChild(oElement) Arguments:
Name |
Type |
O/R |
Description |
oElement |
AMLNode
|
Required |
The node to add. |
|
canDispatch *
|
Void |
Tests wether event of the specified namespace and type can be dispatched. |
Sytaxis:
object.canDispatch(sNameSpaceURI, sType) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
NamespaceURI of the event to be tested. |
sType |
String |
Required |
Event type. |
|
cloneNode *
|
AMLNode
|
Creates a copy of node and returns it. |
Sytaxis:
object.cloneNode(bDeep) Arguments:
Name |
Type |
O/R |
Description |
bDeep |
Boolean |
Required |
Indicates wether the childnodes are also to be cloned. |
|
compareDocumentPosition *
|
Number |
Compares the reference node, i.e. the node on which this method is being called, with a node, i.e. the one passed as a parameter, with regard to their position in the document and according to the document order. |
Sytaxis:
object.compareDocumentPosition(oNode) Arguments:
Name |
Type |
O/R |
Description |
oNode |
AMLNode
|
Required |
The node to compare against the reference node. |
|
dispatchEvent *
|
Boolean |
This method allows the dispatch of events into the implementation's event model. Return value indicates whether any of the listeners which handled the event called preventDefault method on Event object. |
Sytaxis:
object.dispatchEvent(oEvent) Arguments:
Name |
Type |
O/R |
Description |
oEvent |
AMLEvent
|
Required |
The event to be dispatched. |
|
getAttribute *
|
String |
Retrieves the value of the specified attribute. |
Sytaxis:
object.getAttribute(sName) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Attribute name |
|
getAttributeNS *
|
String |
Retrieves the value of the specified attribute from the specified namespace. |
Sytaxis:
object.getAttributeNS(sNameSpaceURI, sLocalName) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
Namespace URI |
sLocalName |
String |
Required |
Attribute name |
|
getBoundingClientRect *
|
TextRectangle |
Returns an object with top, right, bottom, left members keeping the absolute coordinates of the object in the screen. |
Sytaxis:
object.getBoundingClientRect()
|
getElementsByTagName *
|
AMLNodeList
|
Retrieves a AMLNodeList collection of AMLElement objects based on the specified element name.
|
Sytaxis:
object.getElementsByTagName(sName) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Element name. |
|
getElementsByTagNameNS *
|
AMLNodeList
|
Retrieves a AMLNodeList collection of AMLElement objects based on the specified element name from the given namespace.
|
Sytaxis:
object.getElementsByTagNameNS(sNameSpaceURI, sLocalName) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
Namespace URI. URI пространства имен элемента. |
sLocalName |
String |
Required |
Element name. |
|
hasAttribute *
|
Boolean |
Returns a value that indicates whether the object has specified attribute. |
Sytaxis:
object.hasAttribute(sName) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Attribute name. |
|
hasAttributeNS *
|
Boolean |
Returns a value that indicates whether the object has specified attribute from the given namespace. |
Sytaxis:
object.hasAttributeNS(sNameSpaceURI, sLocalName) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
Namespace URI. |
sLocalName |
String |
Required |
Attribute name. |
|
hasAttributes *
|
Boolean |
Retrieves true if the node has any attributes. |
Sytaxis:
object.hasAttributes()
|
hasChildNodes *
|
Boolean |
Returns a value that indicates whether the object has children. |
Sytaxis:
object.hasChildNodes()
|
insertBefore *
|
AMLNode
|
Inserts a chlid element after the specifyed element to the object. |
Sytaxis:
object.insertBefore(oElement, oBefore) Arguments:
Name |
Type |
O/R |
Description |
oElement |
AMLNode
|
Required |
The node to insert. |
oBefore |
AMLNode
|
Required |
The reference node, i.e., the node before which the new node must be inserted. |
|
isDefaultNamespace *
|
String |
This method checks if the specified namespaceURI is the default namespace or not. |
Sytaxis:
object.isDefaultNamespace(sNameSpaceURI) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
The namespace URI to look for. |
|
lookupNamespaceURI *
|
String |
Look up the namespace URI associated to the given prefix, starting from this node. |
Sytaxis:
object.lookupNamespaceURI(sPrefix) Arguments:
Name |
Type |
O/R |
Description |
sPrefix |
String |
Required |
The prefix to look for. If this parameter is null, the method will return the default namespace URI if any. |
|
lookupPrefix *
|
String |
Look up the prefix associated to the given namespace URI, starting from this node. |
Sytaxis:
object.lookupPrefix(sNameSpaceURI) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
The namespace URI to look for. |
|
normalize *
|
Void |
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form |
Sytaxis:
object.normalize()
|
querySelector *
|
AMLElement
|
Returns AMLElement that matches CSS query.
|
Sytaxis:
object.querySelector(sQuery, [fResolver]) Arguments:
Name |
Type |
O/R |
Description |
sQuery |
String |
Required |
CSS query. |
fResolver |
Function |
Optional |
Resolver function used to resolve namespace prefixes used in query. |
|
querySelectorAll *
|
AMLNodeList
|
Returns AMLNodeList of AMLElement that match CSS query.
|
Sytaxis:
object.querySelectorAll(sQuery, [fResolver]) Arguments:
Name |
Type |
O/R |
Description |
sQuery |
String |
Required |
CSS query. |
fResolver |
Function |
Optional |
Resolver function used to resolve namespace prefixes used in query. |
|
removeAttribute *
|
Void |
Removes the given attribute from the element. |
Sytaxis:
object.removeAttribute(sName) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Attribute name. |
|
removeAttributeNS *
|
Void |
Removes the given attribute from the given namespace from the element. |
Sytaxis:
object.removeAttributeNS(sNameSpaceURI, sName) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
Namespace URI. |
sName |
String |
Required |
Attribute name. |
|
removeChild *
|
AMLNode
|
Removes a child node from the object. |
Sytaxis:
object.removeChild(oChild) Arguments:
Name |
Type |
O/R |
Description |
oChild |
AMLNode
|
Required |
The node being removed. |
|
removeEventListener *
|
Void |
This method allows the removal of event listeners from the default group. |
Sytaxis:
object.removeEventListener(sType, fListener, bUseCapture) Arguments:
Name |
Type |
O/R |
Description |
sType |
String |
Required |
Specifies the Event.type for which the user registered the event listener. |
fListener |
Function |
Required |
Listener to be removed. |
bUseCapture |
Boolean |
Required |
Specifies whether the EventListener being removed was registered for the capture phase or not. |
|
replaceChild *
|
AMLNode
|
Replaces the given child node by another node. |
Sytaxis:
object.replaceChild(oNew, oChild) Arguments:
Name |
Type |
O/R |
Description |
oNew |
AMLNode
|
Required |
The new node to put in the child list. |
oChild |
AMLNode
|
Required |
The node being replaced in the list. |
|
scrollIntoView *
|
Void |
Causes the object to scroll into view, aligning it either at the top or bottom of the window. |
Sytaxis:
object.scrollIntoView(top) Arguments:
Name |
Type |
O/R |
Description |
top |
Boolean |
Required |
If value is true, scrolls the object so that top of the object is visible at the top of the window. |
|
setAttribute *
|
Void |
Sets the value of the specified attribute. |
Sytaxis:
object.setAttribute(sName, sValue) Arguments:
Name |
Type |
O/R |
Description |
sName |
String |
Required |
Attribute name |
sValue |
String |
Required |
Attribute value |
|
setAttributeNS *
|
Void |
Sets the value of the specified attribute from the given namespace. |
Sytaxis:
object.setAttributeNS(sNameSpaceURI, sName, sValue) Arguments:
Name |
Type |
O/R |
Description |
sNameSpaceURI |
String |
Required |
Namespace URI |
sName |
String |
Required |
Attribute name |
sValue |
String |
Required |
Attribute value |
|
toXML *
|
String |
Serializes Node to string. |
Sytaxis:
object.toXML()
|