angular-bootstrap-ui: Add missing configuration options & tests for ITooltipOptions

This commit is contained in:
Brian Hinken 2017-01-25 10:54:20 -05:00
parent 6c3cb891e2
commit 9afce5b531
2 changed files with 10 additions and 2 deletions

View File

@ -155,6 +155,7 @@ testApp.config((
placement: 'bottom',
animation: false,
popupDelay: 1000,
popupCloseDelay: 1000,
appendToBody: true,
trigger: 'mouseenter hover',
useContentExp: true,

View File

@ -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?
*