提交 c95a54df 编写于 作者: K Kamran Ahmed

Expose refresh functionality

上级 fc530677
...@@ -155,6 +155,13 @@ export default class Driver { ...@@ -155,6 +155,13 @@ export default class Driver {
return; return;
} }
this.refresh();
}
/**
* Refreshes and repositions the popover and the overlay
*/
refresh() {
this.overlay.refresh(); this.overlay.refresh();
} }
......
...@@ -69,6 +69,11 @@ declare module 'driver.js' { ...@@ -69,6 +69,11 @@ declare module 'driver.js' {
*/ */
private onResize(): void; private onResize(): void;
/**
* Refreshes and repositions the popover and the overlay
*/
private refresh(): void;
/** /**
* Makes it operable with keyboard * Makes it operable with keyboard
* @param {Event} e * @param {Event} e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册