Can some one please point me to a right direction to get the Container which are added to the layer.
If i add a new Layer i am able to get them.
but using this type my not able to figure it out how to get the container items from the example code provided in download
YUI_config.groups.wireit.base = '../src/';
YUI({combine: false, filter: 'raw'}).use('bezier-wire', 'container','image-container',function(Y) {
window.Y = Y;
var layerEl = Y.one('#layer');
var mygraphic = new Y.Graphic({render: "#layer"});
new Y.Container({
children: [
{ align: {points:["tl", "tl"]} },
{ align: {points:["tl", "bc"]} }
],
render: layerEl,
xy: [200,100],
width: 200,
height: 100,
headerContent: 'headerContent',
bodyContent: 'bodyContent',
footerContent: 'footerContent'
});
new Y.Container({
children: [
{
align: {points:["tl", "tl"]},
dir: [-1,-1]
}
],
render: layerEl,
xy: [350,200],
headerContent: 'sample container',
bodyContent: 'bodyContent'
});
new Y.Container({
children: Y.ContainerBase.EIGHT_POINTS,
render: layerEl,
width: 200,
height: 100,
xy: [500,200],
headerContent: '9 terminals',
bodyContent: 'bodyContent',
footerContent: 'footerContent'
});
new Y.ImageContainer({
children: Y.ContainerBase.EIGHT_POINTS,
render: layerEl,
xy: [700,30],
});