Update exports in types
Browse files- types/index.d.ts +6 -6
types/index.d.ts
CHANGED
@@ -134,7 +134,7 @@ declare module 'driver.js' {
|
|
134 |
}
|
135 |
|
136 |
namespace Driver {
|
137 |
-
|
138 |
/**
|
139 |
* Query selector representing the DOM Element
|
140 |
*/
|
@@ -152,7 +152,7 @@ declare module 'driver.js' {
|
|
152 |
popover: Driver.PopoverOptions;
|
153 |
}
|
154 |
|
155 |
-
|
156 |
/**
|
157 |
* Refers to the DOM element that this class wraps
|
158 |
*/
|
@@ -282,7 +282,7 @@ declare module 'driver.js' {
|
|
282 |
public getSize(): Driver.ElementSize;
|
283 |
}
|
284 |
|
285 |
-
|
286 |
/**
|
287 |
* Options to modify the overlay behavior
|
288 |
*/
|
@@ -360,7 +360,7 @@ declare module 'driver.js' {
|
|
360 |
public refresh(): void;
|
361 |
}
|
362 |
|
363 |
-
|
364 |
private node: Node | HTMLElement;
|
365 |
private tipNode: Node | HTMLElement;
|
366 |
private titleNode: Node | HTMLElement;
|
@@ -438,7 +438,7 @@ declare module 'driver.js' {
|
|
438 |
private autoPosition(position: Driver.Position): void;
|
439 |
}
|
440 |
|
441 |
-
|
442 |
private options: Driver.StageOptions;
|
443 |
private window: Window;
|
444 |
private document: Document;
|
@@ -474,7 +474,7 @@ declare module 'driver.js' {
|
|
474 |
public show(position: Driver.Position): void;
|
475 |
}
|
476 |
|
477 |
-
|
478 |
top: number;
|
479 |
left: number;
|
480 |
right: number;
|
|
|
134 |
}
|
135 |
|
136 |
namespace Driver {
|
137 |
+
interface Step {
|
138 |
/**
|
139 |
* Query selector representing the DOM Element
|
140 |
*/
|
|
|
152 |
popover: Driver.PopoverOptions;
|
153 |
}
|
154 |
|
155 |
+
class Element {
|
156 |
/**
|
157 |
* Refers to the DOM element that this class wraps
|
158 |
*/
|
|
|
282 |
public getSize(): Driver.ElementSize;
|
283 |
}
|
284 |
|
285 |
+
class Overlay {
|
286 |
/**
|
287 |
* Options to modify the overlay behavior
|
288 |
*/
|
|
|
360 |
public refresh(): void;
|
361 |
}
|
362 |
|
363 |
+
class Popover {
|
364 |
private node: Node | HTMLElement;
|
365 |
private tipNode: Node | HTMLElement;
|
366 |
private titleNode: Node | HTMLElement;
|
|
|
438 |
private autoPosition(position: Driver.Position): void;
|
439 |
}
|
440 |
|
441 |
+
class Stage extends Element {
|
442 |
private options: Driver.StageOptions;
|
443 |
private window: Window;
|
444 |
private document: Document;
|
|
|
474 |
public show(position: Driver.Position): void;
|
475 |
}
|
476 |
|
477 |
+
class Position {
|
478 |
top: number;
|
479 |
left: number;
|
480 |
right: number;
|