mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Update to angular ui bootstrap v0.13.1
This commit is contained in:
@@ -110,6 +110,8 @@ testApp.config((
|
||||
$timepickerConfig.mousewheel = false;
|
||||
$timepickerConfig.readonlyInput = true;
|
||||
$timepickerConfig.showMeridian = false;
|
||||
$timepickerConfig.arrowkeys = false;
|
||||
$timepickerConfig.showSpinners = false;
|
||||
|
||||
/**
|
||||
* $tooltipProvider tests
|
||||
@@ -140,7 +142,8 @@ testApp.controller('TestCtrl', (
|
||||
var modalInstance = $modal.open({
|
||||
animation: false,
|
||||
backdrop: 'static',
|
||||
backdropClass: 'testing',
|
||||
backdropClass: 'modal-backdrop-test',
|
||||
bindToController: true,
|
||||
controller: 'ModalTestCtrl',
|
||||
controllerAs: 'vm',
|
||||
keyboard: true,
|
||||
@@ -152,7 +155,6 @@ testApp.controller('TestCtrl', (
|
||||
scope: $scope,
|
||||
template: "<div>i'm a template!</div>",
|
||||
templateUrl: '/templates/modal.html',
|
||||
backdropClass: 'modal-backdrop-test',
|
||||
windowClass: 'modal-test'
|
||||
});
|
||||
|
||||
|
||||
+22
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Angular UI Bootstrap 0.13.0
|
||||
// Type definitions for Angular UI Bootstrap 0.13.1
|
||||
// Project: https://github.com/angular-ui/bootstrap
|
||||
// Definitions by: Brian Surowiec <https://github.com/xt0rted>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -262,6 +262,13 @@ declare module angular.ui.bootstrap {
|
||||
*/
|
||||
controllerAs?: string;
|
||||
|
||||
/**
|
||||
* When used with controllerAs and set to true, it will bind the controller properties onto the $scope directly.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
bindToController?: boolean;
|
||||
|
||||
/**
|
||||
* members that will be resolved and passed to the controller as locals; it is equivalent of the `resolve` property for AngularJS routes
|
||||
*/
|
||||
@@ -593,6 +600,20 @@ declare module angular.ui.bootstrap {
|
||||
* @default true
|
||||
*/
|
||||
mousewheel?: boolean;
|
||||
|
||||
/**
|
||||
* Whether the user can use up/down arrowkeys inside the hours & minutes input to increase or decrease it's values.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
arrowkeys?: boolean;
|
||||
|
||||
/**
|
||||
* Shows spinner arrows above and below the inputs.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
showSpinners?: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user