shim-plugin-debug.js revision d2fb75690de4575ac2dce458fac6dc5dac14dfbe
/**
* Provides shimming support for Node via a Plugin.
* This fixes SELECT bleedthrough for IE6 & Mac scrollbars
* @module shim-plugin
*/
/**
* Node plugin which can be used to add shim support.
*
* @class Plugin.Shim
* @param {Object} User configuration object
*/
}
/**
* Default class used to mark the shim element
*
* @property Shim.CLASS_NAME
* @type String
* @static
* @default "yui-node-shim"
*/
// TODO: use ClassNameManager
/**
* Default markup template used to generate the shim element.
*
* @property Shim.TEMPLATE
* @type String
* @static
*/
'" frameborder="0" title="Node Stacking Shim"' +
'src="javascript:false" tabindex="-1" role="presentation"' +
'style="position:absolute; z-index:-1;"></iframe>';
this.initEvents();
this.insert();
this.sync();
},
initEvents: function() {
},
getShim: function() {
return this._shim || (
)
);
},
insert: function() {
},
/**
* Updates the size of the shim to fill its container
* @method sync
*/
sync: function() {
if (shim) {
});
}
},
/**
* Removes the shim and destroys the plugin
* @method destroy
*/
destroy: function() {
if (shim) {
}
this._resizeHandle.detach();
}
};
Y.namespace('Plugin');