0.0.33 • Published 6 months ago
@types/ngbootbox v0.0.33
Installation
npm install --save @types/ngbootbox
Summary
This package contains type definitions for ngbootbox (https://github.com/eriktufvesson/ngBootbox).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ngbootbox.
index.d.ts
// Type definitions for ngbootbox
// Project: https://github.com/eriktufvesson/ngBootbox
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="bootbox" />
interface NgBootboxDialog {
title?: string | undefined;
message?: string | undefined;
templateUrl?: string | undefined;
locale?: string | undefined;
callback?: (() => any) | undefined;
onEscape?: (() => any | boolean) | undefined;
show?: boolean | undefined;
backdrop?: boolean | undefined;
closeButton?: boolean | undefined;
animate?: boolean | undefined;
className?: string | undefined;
size?: string | undefined;
buttons?: BootboxButtonMap | undefined;
}
interface BootboxService {
alert(msg: string): Promise<any>;
confirm(msg: string): Promise<any>;
prompt(msg: string): Promise<any>;
customDialog(options: NgBootboxDialog): void;
setDefaults(options: BootboxDefaultOptions): void;
hideAll(): void;
addLocale(name: string, values: BootboxLocaleValues): void;
removeLocale(name: string): void;
setLocale(name: string): void;
}
declare var $ngBootbox: BootboxService;
Additional Details
- Last updated: Thu, 08 Jul 2021 18:51:16 GMT
- Dependencies: @types/bootbox
- Global values:
$ngBootbox
Credits
These definitions were written by Sam Saint-Pettersen.
0.0.32
7 months ago
0.0.33
6 months ago
0.0.31
3 years ago
0.0.30
4 years ago
0.0.29
7 years ago
0.0.28
8 years ago
0.0.27
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.20-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago