0.12.4 • Published 6 months ago
@types/angular-bootstrap-lightbox v0.12.4
Installation
npm install --save @types/angular-bootstrap-lightbox
Summary
This package contains type definitions for angular-bootstrap-lightbox (https://github.com/compact/angular-bootstrap-lightbox).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-bootstrap-lightbox.
index.d.ts
// Type definitions for angular-bootstrap-lightbox 0.12
// Project: https://github.com/compact/angular-bootstrap-lightbox
// Definitions by: Roland Zwaga <https://github.com/rolandzwaga>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace angular.bootstrap.lightbox {
export interface ILightboxImageInfo {
url: string;
width: number;
height: number;
thumbUrl?: string | undefined;
caption?: string | undefined;
}
export interface IImageDimensionLimits {
minWidth?: number | undefined;
minHeight?: number | undefined;
maxWidth?: number | undefined;
maxHeight?: number | undefined;
}
export interface IImageDimensionParameter {
windowWidth:number;
windowHeight:number;
imageWidth:number;
imageHeight:number;
}
export interface IModalDimensionsParameter {
windowWidth:number;
windowHeight:number;
imageDisplayWidth:number;
imageDisplayHeight:number;
}
export interface IModalDimensions {
width:number;
height:number;
}
export interface ILightbox {
openModal(
images:ILightboxImageInfo[],
index:number,
modalParams?: { [key: string]: any }, // angular.ui.bootstrap.IModalSettings
):void;
}
export interface ILightBoxProvider {
templateUrl:string;
calculateImageDimensionLimits:(dimensions:IImageDimensionParameter)=>IImageDimensionLimits;
calculateModalDimensions:(dimensions:IModalDimensionsParameter)=>IModalDimensions;
}
}
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:16 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Roland Zwaga.
0.12.2
8 months ago
0.12.3
7 months ago
0.12.4
6 months ago
0.12.1
3 years ago
0.12.0
4 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago