Lines Matching defs:zIndex
11 ZINDEX = "zIndex",
87 * @attribute zIndex
91 * zIndex will be converted to 0
93 zIndex: {
107 zIndex: function (srcNode) {
184 Parses a `zIndex` attribute value from this widget's `srcNode`.
187 @param {Node} srcNode The node to parse a `zIndex` value from.
188 @return {Mixed} The parsed `zIndex` value.
192 var zIndex;
204 zIndex = 'auto';
208 zIndex = srcNode.getComputedStyle('zIndex');
214 // user provided value for `zIndex` will be used.
215 return zIndex === 'auto' ? null : zIndex;
219 * Default setter for zIndex attribute changes. Normalizes zIndex values to
224 * @param {String | Number} zIndex
225 * @return {Number} Normalized zIndex
227 _setZIndex: function(zIndex) {
228 if (L.isString(zIndex)) {
229 zIndex = parseInt(zIndex, 10);
231 if (!L.isNumber(zIndex)) {
232 zIndex = 0;
234 return zIndex;
250 * Default attribute change listener for the zIndex attribute, responsible
262 * Updates the UI to reflect the zIndex value passed in.
266 * @param {number} zIndex The zindex to be reflected in the UI
268 _uiSetZIndex: function (zIndex) {
269 this._stackNode.setStyle(ZINDEX, zIndex);