Lines Matching defs:shim
12 SHIM = "shim",
75 * @attribute shim
77 * @default false, for all browsers other than IE6, for which a shim is enabled by default.
79 * @description Boolean flag to indicate whether or not a shim should be added to the Widgets
82 shim: {
113 * Default class used to mark the shim element
118 * @default "yui3-widget-shim"
133 * Default markup template used to generate the shim element.
238 * Default attribute change listener for the shim attribute, responsible
273 * Updates the UI to enable/disable the shim. If the widget is not currently visible,
274 * creation of the shim is deferred until it is made visible, for performance reasons.
278 * @param {boolean} enable If true, creates/renders the shim, if false, removes it.
302 * Sets up change handlers for the visible attribute, to defer shim creation/rendering
328 * Sets up event listeners to resize the shim when the size of the Widget changes.
331 * resize the shim purely through CSS, when the Widget does not have an explicit width/height
369 * Creates the shim element and adds it to the DOM
388 * Removes the shim from the DOM, and detaches any related event
405 * For IE6, synchronizes the size and position of iframe shim to that of
412 var shim = this._shimNode,
415 if (shim && UA.ie === 6 && this.get(VISIBLE)) {
416 shim.setStyle(WIDTH, node.get(OFFSET_WIDTH) + PX);
417 shim.setStyle(HEIGHT, node.get(OFFSET_HEIGHT) + PX);
422 * Creates a cloned shim node, using the SHIM_TEMPLATE html template, for use on a new instance.
426 * @return {Node} node A new shim Node instance.