iframe.js revision a6b1660cb669481354732efcc98239c29347a06a
var IFrame = function(o) {
};
_iframe: null,
_delayed: null,
_instance: null,
_ready: null,
appendTo: function(n) {
if (this._ready) {
n = Y.one(n);
} else {
n = Y.one(n);
}, this, n));
}
},
_create: function() {
}
}
var inst,
//console.info('Internal instance loaded with node: ', inst, this);
this._instanceLoaded(inst);
}, this),
config = {
debug: false,
bootstrap: false,
},
fn = function() {
//console.info('New Modules Loaded into main instance');
//console.log(config);
//console.log('Creating new internal instance with node only: ', inst.id, inst);
};
//console.info('Adding new modules to main instance: ', args);
},
_onDomEvent: function(e) {
//console.log('onDOMEvent: ', e.type, e, xy);
}
}, this, e),
ev.preventDefault();
}, this, e)
});
},
_setup: function() {
if (!this._ready) {
var obj = {},
inst = this.getInstance(),
if (v === 1) {
}
});
this._ready = true;
this.fire('ready');
}
},
_instanceLoaded: function(inst) {
var inst = this.getInstance();
//console.log('On available for body of iframe');
//console.info('Callback from final internal use call');
this._setup();
}, this));
//console.info('Calling use on internal instance: ', args);
}, this), 'body');
}),
if (this.get('designMode')) {
}
//console.info('Injecting content into iframe');
},
var inst = this.getInstance();
if (!inst) {
Y.log('Delegate events can not be attached until after the ready event has fired.', 'error', 'iframe');
return false;
}
if (!sel) {
cont = 'body';
}
},
getInstance: function() {
return this._instance;
},
render: function() {
this._create();
return this;
},
initializer: function() {
this._delayed = [];
},
destructor: function() {
}
}, {
HTML: '<iframe src="{SRC}" border="0" frameBorder="0" marginWidth="0" marginHeight="0" leftMargin="0" topMargin="0" allowTransparency="true" width="100%" height="100%"></iframe>',
PAGE_HTML: '<html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body>{CONTENT}</body></html>',
NAME: 'iframe',
ATTRS: {
src: {
},
type: {
value: 'iframe'
},
designMode: {
value: false
},
content: {
value: ''
},
use: {
},
container: {
value: 'body',
setter: function(n) {
return Y.one(n);
}
},
id: {
if (!id) {
}
}
return id;
}
}
}
});