js->ts: common.js

This commit is contained in:
2021-08-15 19:59:34 +09:00
parent f1252fa4e2
commit c31a867bde
6 changed files with 519 additions and 417 deletions
+15
View File
@@ -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;
}