diff --git a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts index b14af506b6..15f0f2b661 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts @@ -155,6 +155,7 @@ testApp.config(( placement: 'bottom', animation: false, popupDelay: 1000, + popupCloseDelay: 1000, appendToBody: true, trigger: 'mouseenter hover', useContentExp: true, diff --git a/angular-ui-bootstrap/index.d.ts b/angular-ui-bootstrap/index.d.ts index b5b4e1a5e6..bc80d96b5a 100644 --- a/angular-ui-bootstrap/index.d.ts +++ b/angular-ui-bootstrap/index.d.ts @@ -161,7 +161,7 @@ declare module 'angular' { /** * Defines the initial date, when no model value is specified. - * + * * @default null */ initDate?: any; @@ -834,12 +834,19 @@ declare module 'angular' { animation?: boolean; /** - * For how long should the user have to have the mouse over the element before the tooltip shows (in milliseconds)? + * Popup delay in milliseconds until it opens. * * @default 0 */ popupDelay?: number; + /** + * For how long should the tooltip remain open after the close trigger event? + * + * @default 0 + */ + popupCloseDelay?: number; + /** * Should the tooltip be appended to `$body` instead of the parent element? *