Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
attributes
|
Object | read/write | ||
The dictionary of attributes for this node. | ||||
nodeName
|
String | read/write | ||
The name of this node. |
Methods
appendChild() |
---|
getAttr() |
---|
getElementsByTagName() |
---|
getFirstChild() |
---|
getLastChild() |
---|
handleDocumentChange() |
---|
Parameter Name | Type | Description |
---|---|---|
what | String | A description of what changed. |
who | lz.DataNodeMixin | The node that changed. |
type | Number | private |
cobj |
hasAttr() |
---|
hasChildNodes() |
---|
insertBefore() |
---|
Parameter Name | Type | Description |
---|---|---|
newChild | lz.DataNodeMixin | the LzDataNodeMixin to insert |
refChild | lz.DataNodeMixin | the LzDataNodeMixin to insert newChild before |
removeAttr() |
---|
removeChild() |
---|
replaceChild() |
---|
Parameter Name | Type | Description |
---|---|---|
newChild | lz.DataNodeMixin | the LzDataNodeMixin to add |
oldChild | lz.DataNodeMixin | the LzDataNodeMixin to be replaced by the newChild |
Returns | Type | Description |
---|---|---|
lz.DataNodeMixin | The new child, or null if the oldChild wasn't found @dev-note: DOM-Spec (Level2, Level3) says we need to return the oldChild instead of the newChild |
setAttr() |
---|
Parameter Name | Type | Description |
---|---|---|
name | String | The name of the attribute to set. |
value | String | The value for the attribute. |
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.