(Beta)
Package | com.adobe.mosaic.om.interfaces |
Interface | public interface IMosaicNode |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
IMosaicNode
interface provides methods for retrieving information about nodes in the DOM.
Public Properties
Property | Defined By |
---|
Property Detail
Examples How to use this example
IMosaicNode_example.mxml
// Returns detailed information about a specific node private function getNodeInfo(nodeToInspect:IMosaicNode):String { var strNodeInfo:String = ""; if (nodeToInspect != null) { var strNodeDisplayStatus:String = ""; if (nodeToInspect is IDisplayable) { var nodeDisplayable:IDisplayable = nodeToInspect as IDisplayable; if (nodeDisplayable != null) { if (nodeDisplayable.displayed) { strNodeDisplayStatus = "displayed"; } else { strNodeDisplayStatus = "hidden"; } } } strNodeInfo = nodeToInspect.nodeType + " | " + nodeToInspect.nodeLabel + " | " + nodeToInspect.nodeId + " | " + strNodeDisplayStatus; } return strNodeInfo; } // getNodeInfo
Wed Nov 21 2018, 06:34 AM -08:00