[FIX] Adding Types for the new scoped classNames feature (#143)

This commit is contained in:
Islam Attrash
2019-01-27 17:42:54 +04:00
committed by Kamran Ahmed
parent 88e2517713
commit c0964beb16
+10
View File
@@ -713,6 +713,11 @@ declare module 'driver.js' {
* @default auto
*/
position?: string;
/**
* className for the popover on element
*/
className?: string;
}
interface DriverOptions {
@@ -795,6 +800,11 @@ declare module 'driver.js' {
*/
prevBtnText?: string;
/**
* className for the driver popovers
*/
className?: string;
/**
* Callback to be called when element is about to be highlighted
* @param {Driver.Element} element