mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-23 21:35:37 +08:00
Merge pull request #14238 from bbobrian/master
angular-bootstrap-ui: Add missing configuration options & tests for ITooltipOptions
This commit is contained in:
@@ -155,6 +155,7 @@ testApp.config((
|
||||
placement: 'bottom',
|
||||
animation: false,
|
||||
popupDelay: 1000,
|
||||
popupCloseDelay: 1000,
|
||||
appendToBody: true,
|
||||
trigger: 'mouseenter hover',
|
||||
useContentExp: true,
|
||||
|
||||
11
angular-ui-bootstrap/index.d.ts
vendored
11
angular-ui-bootstrap/index.d.ts
vendored
@@ -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?
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user