mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 20:31:43 +08:00
Update type definition
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Vendored
+18
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user