0.5.36 • Published 1 year ago
@types/angular-modal v0.5.36
Installation
npm install --save @types/angular-modal
Summary
This package contains type definitions for angular-modal (https://github.com/btford/angular-modal).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-modal.
index.d.ts
// Type definitions for angular-modal 0.5.0
// Project: https://github.com/btford/angular-modal
// Definitions by: Paul Lessing <https://github.com/paullessing>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="angular" />
declare namespace angularModal {
type AngularModalControllerDefinition = (new (...args: any[]) => any) | Function | string; // Possible arguments to IControllerService
type AngularModalJQuerySelector = string | Element | Element[] | JQuery | Function | any[] | {}; // Possible arguments to IAugmentedJQueryStatic
interface AngularModalSettings {
controller?: AngularModalControllerDefinition | undefined;
controllerAs?: string | undefined;
container?: AngularModalJQuerySelector | undefined;
}
export interface AngularModalSettingsWithTemplate extends AngularModalSettings {
template: any;
}
export interface AngularModalSettingsWithTemplateUrl extends AngularModalSettings {
templateUrl: string;
}
export interface AngularModal {
activate(locals?: {}): angular.IPromise<void>;
activate<T>(locals: T): angular.IPromise<void>;
deactivate(): angular.IPromise<void>;
active(): boolean;
}
export interface AngularModalFactory {
(settings: AngularModalSettingsWithTemplate | AngularModalSettingsWithTemplateUrl): AngularModal;
}
}
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:20 GMT
- Dependencies: @types/angular
- Global values: none
Credits
These definitions were written by Paul Lessing.
0.5.36
1 year ago
0.5.34
1 year ago
0.5.35
1 year ago
0.5.33
3 years ago
0.5.32
7 years ago
0.5.31
8 years ago
0.5.30
8 years ago
0.5.29
8 years ago
0.5.28-alpha
8 years ago
0.5.26-alpha
8 years ago
0.5.25-alpha
8 years ago
0.5.24-alpha
8 years ago
0.5.23-alpha
8 years ago
0.5.22-alpha
9 years ago
0.5.21-alpha
9 years ago
0.5.16-alpha
9 years ago
0.5.15-alpha
9 years ago