mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 03:52:13 +08:00
Expose refresh functionality
This commit is contained in:
@@ -155,6 +155,13 @@ export default class Driver {
|
||||
return;
|
||||
}
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
/**
|
||||
* Refreshes and repositions the popover and the overlay
|
||||
*/
|
||||
refresh() {
|
||||
this.overlay.refresh();
|
||||
}
|
||||
|
||||
|
||||
Vendored
+5
@@ -69,6 +69,11 @@ declare module 'driver.js' {
|
||||
*/
|
||||
private onResize(): void;
|
||||
|
||||
/**
|
||||
* Refreshes and repositions the popover and the overlay
|
||||
*/
|
||||
private refresh(): void;
|
||||
|
||||
/**
|
||||
* Makes it operable with keyboard
|
||||
* @param {Event} e
|
||||
|
||||
Reference in New Issue
Block a user