kamrify commited on
Commit
727f927
·
1 Parent(s): cb89283

Update type definition

Browse files
Files changed (2) hide show
  1. src/core/element.js +1 -1
  2. types/index.d.ts +18 -0
src/core/element.js CHANGED
@@ -283,7 +283,7 @@ export default class Element {
283
  }
284
 
285
  /**
286
- * Get an element CSS property on the page
287
  * @param {string} property
288
  * @returns string
289
  * @private
 
283
  }
284
 
285
  /**
286
+ * Get current element's CSS attribute value
287
  * @param {string} property
288
  * @returns string
289
  * @private
types/index.d.ts CHANGED
@@ -284,6 +284,24 @@ declare module 'driver.js' {
284
  * Adds the highlight classes to current element if required
285
  */
286
  private addHighlightClasses(): void;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
  }
288
 
289
  class Overlay {
 
284
  * Adds the highlight classes to current element if required
285
  */
286
  private addHighlightClasses(): void;
287
+
288
+ /**
289
+ * Walks through the parents of the current element and fixes
290
+ * the stacking context
291
+ */
292
+ private fixStackingContext(): void;
293
+
294
+ /**
295
+ * Checks if we can make the current element relative or not
296
+ * @return {boolean}
297
+ */
298
+ private canMakeRelative(): boolean;
299
+
300
+ /**
301
+ * Get current element's CSS attribute value
302
+ * @return {string}
303
+ */
304
+ private getStyleProperty(): string;
305
  }
306
 
307
  class Overlay {