Update type definition

This commit is contained in:
Kamran Ahmed
2018-03-22 01:26:13 +01:00
parent 375f8c25d5
commit c24dab2e86
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ export default class Element {
}
/**
* Get an element CSS property on the page
* Get current element's CSS attribute value
* @param {string} property
* @returns string
* @private
+18
View File
@@ -284,6 +284,24 @@ declare module 'driver.js' {
* Adds the highlight classes to current element if required
*/
private addHighlightClasses(): void;
/**
* Walks through the parents of the current element and fixes
* the stacking context
*/
private fixStackingContext(): void;
/**
* Checks if we can make the current element relative or not
* @return {boolean}
*/
private canMakeRelative(): boolean;
/**
* Get current element's CSS attribute value
* @return {string}
*/
private getStyleProperty(): string;
}
class Overlay {