js->ts: common.js
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
type JQueryBootstrapToast = {
|
||||
container?: JQuery<HTMLElement>,
|
||||
position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center',
|
||||
title?: string,
|
||||
subtitle?: string,
|
||||
content?: string,
|
||||
type?: 'info'|'success'|'warning'|'danger'|'error',
|
||||
delay?: number,
|
||||
img?: string,
|
||||
pause_on_hover?: boolean,
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
toast(opt: JQueryBootstrapToast): void;
|
||||
}
|
||||
Reference in New Issue
Block a user